Posted by Jon on 01/10/06 16:11
It's an associative array, and regardless of that, you can't echo or cout
anything from an array without choosing the index. If you wanted to echo the
values of the array, the algorithm would look something like this:
for(1 to last array index){
echo $array['fieldName']."<br>";
}
The loop is obviously just an algorithm and not actual code. You'll probably
want to pickup a book on PhP - this stuff is really important to understand
before trying to get toof ar in.
"ameshkin" <amir.meshkin@gmail.com> wrote in message
news:1136852770.233445.224530@g44g2000cwa.googlegroups.com...
> when i put in
>
> echo $array
>
> I get
> ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
>
> One for each row. Is it because maybe the entry in the database is
> <song path="http://www.mytuneslive.com/test6/1.mp3" title="1.mp3"/>
>
> Does it not like the fact that the XML field in the database starts
> with a < and ends with >?
>
Navigation:
[Reply to this message]
|