Re: problem when outputting an xml file using php

From: mr_burns (bissatch_at_yahoo.co.uk)
Date: 11/27/04


Date: 27 Nov 2004 05:30:35 -0800

Hi,

I tried your code but got the following error:

Warning: domdocument() expects at least 1 parameter, 0 given in
/home/martyn69/public_html/oarsome/test_countries.php on line 35

Fatal error: Call to undefined function: load() in
/home/martyn69/public_html/oarsome/test_countries.php on line 36

It seems that the code I am using is opening the XML file, getting
into the FOR loop and is managing to spit out the 'id' attribute. The
only problem is the $item->node_value() isnt producing the node value.

Any ideas? Why isnt node_value() producing the node value? Am I
missing something? Cheers

Burnsy



Relevant Pages

  • Re: Session_start not working
    ... Fatal error: Call to undefined function: session_startin ... You can get Apache plus PHP running in a normal user account. ... tell me where the PREFIX/tmp folder is? ...
    (alt.php)
  • [SLE] Apache PHP and no email
    ... Fatal error: Call to undefined function: mailin ... If you are not the intended recipient, ... those of the individual sender and are not necessarily the views of the ...
    (SuSE)
  • Full path disclosure in Webcalendar 1.1.0-CVS
    ... Fatal error: Class testoffunctions: Cannot inherit from undefined class ... Fatal error: Call to undefined function: translatein ... Fatal error: Call to undefined function: etranslate() in ... var ie5 // Are we using Internet Explorer ...
    (Bugtraq)
  • RE: gcc loading question
    ... This question is off topic because it's not directly a DBI issue. ... I am trying to load gcc 3.3.2 in order to load and compile perl 5.8 and ... # chmod 777 objdir ... make: Fatal error: Command failed for target `bootstrap' ...
    (perl.dbi.users)
  • Re: php 5 and mysql
    ... Steve Wrote: ... i'm still getting the fatal error: ... Did you restart your web server? ...
    (alt.php)