nobody answered my last question.. anyway i slugged thruogh some books and the web and am on the right way... BUT now i have a problem that i can't find an answer for, anywhere...
how to avoid to display the $data when there isn't any data... like i don't want to display anything when there isn't anything stored in the $data variable. i tried a few tings. apparently if(!$data) and if ($data == "") are not working..
i guess the question is how can i check if the xml tags are empty before they get parsed?
i'd really appreciate any answer or help.....