I'm properly setting the $myorder array (as verified by outputting it with a while loop) - but upon executing the next step:
$charge_result = $mylphp->curl_process($myorder);
I then attempt to display the full results with this:
while (list($key, $value) = each($charge_result))
{
echo htmlspecialchars($key) . " = " . htmlspecialchars($value) . "<BR>\n";
}
But I get:
Warning: Variable passed to each() is not an array or object
It appears that somehow lphp is not creating the results array that it's supposed to. I am properly including the lphp.php file, and I've verified that curl is turned on. Anyone have a clue, or is there any more info I need to provide?
TIA,
- Brian
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php