Hey thanx for the advice,
can you explain to me how i can declare my class... cuz the class is built in....
i tried to simulate by declaring this:
$xmlNode = domxml_new_doc("1.0");
thanx in advance
justin
<!----------------------- my page 1 and page 2 code ---------->
<!-- page two -->
$xmlNode = domxml_new_doc("1.0");
session_start();
var_dump ($SESSION["xmlNode"] );
$xmlNode = $SESSION['xmlNode'];
if ( $node->has_child_nodes() ){
echo "success";
}
<!-- page one -->
if(!$dom = domxml_open_file("g.xml")) {
echo "Error while parsing the document\n";
exit;
}
session_start();
$_SESSION["xmlNode"] = $dom->document_element();