[PHP] Re: Unanticipated characters returned from multidimensional array

2011-08-07 Thread David Green
On Sat, Aug 6, 2011 at 4:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: I haven't look through it long enough to find out about the characters, but try this: foreach($tableNews as $headline = $text){ echo br; echo $text['text']; echo pre; echo $text['user']['name'];

[PHP] Re: Unanticipated characters returned from multidimensional array

2011-08-06 Thread Shawn McKenzie
On 08/06/2011 08:09 AM, David Green wrote: foreach($tableNews as $headline = $text){ $new_text = $text['text']; echo br; echo $new_text; foreach ($text as $soucre = $description){ $new_description = $description['name']; echo pre; echo