[PHP-DB] Problems fopen like parameter

2008-05-06 Thread buzon
I am opening a rss file using fopen. If I use direct value, it can be opened, but I use a paremeter, I obtain an error. This works: ... xml_set_character_data_handler($xml_parser, "characterData"); $fp = fopen("http://www.arteglobal.net/news.xml","r";) or die("Error reading RSS data

Re: [PHP-DB] Problems fopen like parameter

2008-05-06 Thread Chris
[EMAIL PROTECTED] wrote: > I am opening a rss file using fopen. > > If I use direct value, it can be opened, but I use a paremeter, I obtain > an error. > > > This works: > > ... > xml_set_character_data_handler($xml_parser, "characterData"); > $fp = fopen("http://www.arteglobal.net/news.

[PHP-DB] Array Display

2008-05-06 Thread A. Joseph
Please i knew this not the best place to post this message but i ain`t gat no option i need fast help on this I have a Array and data are grouped according to level, so want to display everybody on same level in same HTML row os if you are on level 0 then you first, to the next people on level one

[PHP-DB] Array Display

2008-05-06 Thread A. Joseph
Please i knew this not the best place to post this message but i ain`t gat no option i need fast help on this I have a Array and data are grouped according to level, so want to display everybody on same level in same HTML row os if you are on level 0 then you first, to the next people on level one

[PHP-DB] Summary: Problems fopen like parameter

2008-05-06 Thread buzon
Thank you Chris, you give me the clue Using your method discover wrong pair of brackets, that make that $url_rss become inside a function, so, the variable was look as local variable, not a global one; then, the value become null. - Blinded inside the box. Quoting Chris <[EMAIL PROTECTED]