array within array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux