Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5096

Re: which command to use

Path csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From "Beauregard T. Shagnasty" <a.nony.mous@example.invalid>
Newsgroups comp.lang.php
Subject Re: which command to use
Date Sat, 3 Mar 2012 14:56:54 +0000 (UTC)
Organization Shagnasty Software
Lines 17
Message-ID <jitbfm$du4$1@dont-email.me> (permalink)
References <bptmgwk9u3pe$.1ttilre2f60au$.dlg@40tude.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Sat, 3 Mar 2012 14:56:54 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="FhRr3wkIVITL6qYxUEa4Xw"; logging-data="14276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18l5G2K2sPzSZT2Rr2UY4KG"
User-Agent Pan/0.133 (House of Butterflies)
X-Face ")%].`*.]eMPc&;YIW`F)WJIT8.@o%aIKa52Zr5)}OjmIXWAl_m.8EB?L=z.Dg>wxF[!LT` D$_AEff/^m,0(-=EL4Ch\tcpV+!si9zvA]EH_|v-yp-_?K?Gr0-^C0+e*u;eI/y~i~L?.3t|AC37;G t,C-
Cancel-Lock sha1:Wc2/nA8RRAIWsJv99F9jlfU6l5g=
X-WebTV-Stationery Standard; BGColor=green; TextColor=red
Xref csiph.com comp.lang.php:5096

Show key headers only | View raw


richard the sto0pid wrote:

> I have a page with nested <ul>'s.
> I want the script to tell me how many there are. so what command or
> function would I use?

Naturally, you want to know how many <ul> there are in the generated 
HTML, of course. That would be the "page." <ul> in a script can/could be 
generated within a loop, with just one <ul> actually existing in the 
script.  (something else from dynamicdrive, I'll wager)

Drop your HTML output into any competent text editor and use the Find 
function, usually Control-F. Sometimes, even the browser can tell you!!

-- 
   -bts
   -This space for rent, but the price is high

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

which command to use richard <member@newsguy.com> - 2012-03-03 08:26 -0500
  Re: which command to use Luuk <luuk@invalid.lan> - 2012-03-03 14:59 +0100
    Re: which command to use Luuk <luuk@invalid.lan> - 2012-03-03 15:10 +0100
  Re: which command to use Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-03 09:08 -0500
  Re: which command to use "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2012-03-03 14:56 +0000
    Re: which command to use richard <member@newsguy.com> - 2012-03-03 11:39 -0500
      Re: which command to use "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2012-03-03 17:25 +0000
        Re: which command to use Evan Platt <evan@theobvious.espphotography.com.invalid> - 2012-03-03 16:47 -0800
      Re: which command to use Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-03-05 10:24 +0100
        Re: which command to use Gregor Kofler <usenet@gregorkofler.com> - 2012-03-05 10:43 +0100
        Re: which command to use Evan Platt <evan@theobvious.espphotography.com.invalid> - 2012-03-05 06:41 -0800
        Re: which command to use Evan Platt <evan@theobvious.espphotography.com.invalid> - 2012-03-08 22:18 -0800
  Re: which command to use "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-03-05 10:02 +0100

csiph-web