authorize.net sample code help
Help, Im working on the authorize.net api and need some help. There is a way to get the resppnce codes from using explode() but i dont know how. The code is below:
After that part is then says:
// This line takes the response and breaks it into an array using the specified delimiting character
$response_array = explode($post_values["x_delim_char"],$post_response);
// The results are output to the screen in the form of an html numbered list.
foreach ($response_array as $value)
echo "<LI>" . $value . " </LI>\n";
// individual elements of the array could be accessed to read certain response
// fields. For example, response_array would return the Response Code,
// response_array would return the Response Reason Code.
// for a list of response fields, please review the AIM Implementation Guide
So how do I get the response_array so I can echo it? Thanks :)