Re: Unanticipated characters returned from multidimensional array

From: Date: Sun, 07 Aug 2011 06:35:34 +0000
Subject: Re: Unanticipated characters returned from multidimensional array
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-314406@lists.php.net to get a copy of this message
On Sat, Aug 6, 2011 at 4:44 PM, Shawn McKenzie <nospam@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']; > echo "</pre>"; > } > > That does it perfectly, thank you. It seems very likely that the unwanted characters were coming out of my jumbled logic somewhere.. Regards David

« previous php.general (#314406) next »