Re: Unanticipated characters returned from multidimensional array

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

 



On Sat, Aug 6, 2011 at 4:44 PM, Shawn McKenzie <nospam@xxxxxxxxxxxxx> 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

[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