PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$i=0;
$keywords = $doc->get_elements_by_tagname("Description.keywords");
$keywords = $keywordsї$i];//i use $i to choose the result
$keywords = $keywords->get_content();//Problem
i get an error:
Fatal error: Call to a member function on a non-object in /home/user1/public_html/xml/view.php on line 63
Does anyone now how can i modify my code to store the Description.keywords of my choice in an array which i can lately use to show its contents?