For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > March 2004 > XML RSS $array[0]->d:title error ":"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XML RSS $array[0]->d:title error ":"
sjaak538

2004-03-29, 4:31 pm

Hi

When i parse an rrs feed xml page and i like to print $db[0]->d:Title
I get an error on the ":" in d:Title

How to solve this ?

Here a print_r from $db[0]
Array Database of RestDB objects:
Array
(
[0] => restDB Object
(
[Location] => Amsterdam
[d:Title] => Anaar Restaurant
[Address] => Kalverstraat 15
[City] => Amsterdam
[Country] => Netherland
)

}

Thanks for tacking time to look at this problem
Cheers
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com