In PHP is there any quick way to get the names and values from this?
<!--AUTHCODE=VITAL5--><!--szSerialNumber=111222333444--><!--szTransactionAmount=1900--><!--szAuthorizationDeclinedMessage=--><!--szAVSResponseCode=N--><!--szAVSResponseMessage=Card authorized, no address or zip code match.--><!--szOrderNumber=1--><!--szAuthorizationResponseCode=000067--><!--szReturnCode=1--><!--szCVV2ResponseCode=--><!--szCVV2ResponseMessage=--><!--szIsApproved=1--><!--szTransactionFileName=9802850951761.009--><!--szCAVVResponseCode=-->
Try this :
$text = "<!--AUTHCODE=VITAL5--><!--szSerialNumber=111222333444-->";
preg_match_all('/<!--([^=]+)=(.*?)-->/', $text, $matches);
print_r($matches);
It will give you all the names and values.