Result ." - "; $respmsg = $xml->RespMSG ." - "; $authcode = $xml->AuthCode ." - "; $pnref = $xml->PNRef; //echo $result; //echo $respmsg; //echo $authcode; //echo $pnref; header("Content-type: text/html"); If ($result == 0) { SuccessPage(); } Else { FailurePage(); } } Else { ?>