Array Display

[email protected] ("A. Joseph")
Newsgroups php.db
Message-ID <[email protected]>
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, then level 1 on samle row
so on..

Thank you.



On 5/6/08, [email protected] <[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.xml","r") or die("Error
> reading RSS data.");
>    while ($data = fread($fp, 4096))
>      {
>      xml_parse($xml_parser, $data, feof($fp))
>      ...
>
> But this one not (Error reading RSS data):
>
>    ...
>    $url_rss = "http://www.arteglobal.net/news.xml";
>    ...
>    xml_set_character_data_handler($xml_parser, "characterData");
>    $fp = fopen($url_rss,"r") or die("Error reading RSS data.");
>    while ($data = fread($fp, 4096))
>      {
>      xml_parse($xml_parser, $data, feof($fp))
>      ...
>
>
> Any idea about what is happening?.
>
>
> Thank you!
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
I develop dynamic website with PHP & MySql, Let me know about your site
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.