Posted by JGius vs ::NRG::ius on 08/10/06 11:41
Hi all.
I have this script
-----------------------------------------------------------
<?php
$doc = new DOMDocument();
$doc->load('books.xml');
echo $doc->saveXML();
?>
-----------------------------------------------------------
But when I run it I get this ugly message...
-----------------------------------------------------------
Warning: domdocument() expects at least 1 parameter, 0 given in
C:\Programmi\Apache Group\Apache2\htdocs\app\aiml\book.php on line 2
Fatal error: Call to undefined function: load() in C:\Programmi\Apache
Group\Apache2\htdocs\app\aiml\book.php on line 3
-----------------------------------------------------------
My php version is 4.3.8 (with Apache 2.0 on windows 2000).
Any ideas?
Many thanks.
Gius.
Navigation:
[Reply to this message]
|