array within array
| From: | Steven Macintyre | Date: | Fri, 09 Feb 2007 07:24:01 +0000 |
| Subject: | array within array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248626@lists.php.net to get a copy of this message | ||
Hi all,
I have an array ($articles) that contains content in this format
Text<br>
More text
I am currently calling the creation of the array as such;
$articles = split("Section break", $mystring); <-- this works
NOW ... I need to split each item in the articles array into its own array
(newsarray)
I have tried
Foreach ($articles as $value) {
$newsarray = split("<br", $value);
}
But this aint working ...
Can someone offer a better suggestion?
S