I need php help with an array i have it looks like this below:
Code:
Array ( [STLTRANSACTIONINFO] => Array ( [TRANSACTIONTYPE] => 100 [STLTRANSACTIONID] => 1359622498 [EXTTRANSACTIONID] => [USERID] => 889912 [PASSWORD] => 852963 [STOREID] => 57299350001 [MESSAGENUMBER] => [MESSAGEDESC] => [STLTRANSACTIONDATE] => ) [STLTRANSACTIONDATA] => Array ( [APR] => 842.31 [APPLICATIONID] => 4689901 [SSN] => 111111111 [APPROVEDAMOUNT] => 300.0000 [LOANSTATUS] => G [APPSTATUS] => A [DENIALREASONS] => [SUCCESS] => 1 [MESSAGE] => [APPLICATIONURL] => http://www.urlhere.com ) )
//this above is the result of an unserialize command like this:
// UnSerialize the data structure
$status = $Unserializer->unserialize($body);
// Check whether un-serialization worked
if (PEAR::isError($status)) {
die($status->getMessage());
}
// Display the PHP data structure
//print_r($Unserializer->getUnserializedData());
$results = ($Unserializer->getUnserializedData());
session_register ("results");
This appears to be mutil-dimensional to me, i simply want to do 2 things:
Break it into individual vars
Then insert into mysql, that part i can do its the explode part i can not get to work
Z