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


Groups > comp.lang.php > #5108

Re: which command to use

From "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid>
Newsgroups comp.lang.php
Subject Re: which command to use
Date 2012-03-05 10:02 +0100
Organization http://alvaro.es/
Message-ID <jj1vf2$3eb$1@dont-email.me> (permalink)
References <bptmgwk9u3pe$.1ttilre2f60au$.dlg@40tude.net>

Show all headers | View raw


El 03/03/2012 14:26, richard escribió/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?

The specs are too vague to provide a precise answer but the starting 
point is the DOMDocument class:

http://es2.php.net/DOMDocument



-- 
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--

Back to comp.lang.php | Previous | Next — Previous 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