ereg expr guru
| From: | Dave VanAuken | Date: | Mon, 24 Sep 2001 15:05:45 +0000 |
| Subject: | ereg expr guru | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68531@lists.php.net to get a copy of this message | ||
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