Re: ereg expr guru
| From: | Richard Lynch | Date: | Wed, 03 Oct 2001 04:24:43 +0000 |
| Subject: | Re: ereg expr guru | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69700@lists.php.net to get a copy of this message | ||
http://php.net/strtok
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Dave Vanauken <dave@hawk-systems.com>
Newsgroups: php.general
To: PHP General Mailing List <php-general@lists.php.net>
Sent: Monday, September 24, 2001 10:05 AM
Subject: ereg expr guru
> text file
>
> [other stuff]
> #%start dynamic %#
> #%start site [identifier] %#
> [contents]
> #%stop site [identifier] %#
> #%start site [identifier] %#
> [contents]
> #%stop site [identifier] %#
> #%start site [identifier] %#
> [contents]
> #%stop site [identifier] %#...
> #%stop dynamic %#
> [other stuff]
>
> already have the ability to parse out all the dynamic stuff (stuff between
the
> start and stop dynamic tags). Once we have the string of all the sites,
am
> having problems getting that to parse out into a usabe array.
>
> need to parse the content between the "dynamic" tags and return an array
with
> [identifier] => [contents]
> [identifier] => [contents]...
>
> ideas?
>
> Dave
>