Hi All, i have a form on a php5 page. All i trying to do is parse out some xml entered into that form (COMMAND) using simplexml_load_string here is the test code:
//BEGIN ' . $Input .XML;
$xml = simplexml_load_string($Data);
var_dump($xml);
}
else
}
echo 'WTF!'
}
?>
Test ' //END
this is the error i am receiving: Parse error: syntax error, unexpected $end in /var/www/cgi/index.php on line 24
i think it has something to do with my weak attempt at concatenation. Any help would be much appreciated! Thanks -Phil