Hi Everyone,
Sorry, I mislabeled the title of this post. I am getting this error, and am not sure why - Undefined variable: _Post in c:\inetpub\wwwroot\zipcode_response.php on line 51
Here's the code that the error is referring to:
$zipCode = $_Post ['ZipCode']; //this is the line that the error message is referring to
$updateRecord = new FX($serverIP,$webCompanionPort);
$updateRecord -> SetDBData('FXCart.fp7','Orders_Temp');
$updateRecord -> SetDBPassword('pass','user');
$updateRecord -> AddDBParam('Order_No',$_SESSION['ordno']);
$updateRecord -> AddDBParam('ZipCode',$zipCode);
$updateRecordResult = $updateRecord -> FMEdit();
I'm just trying to update an existing record with a zip code, by grabbing post data from the previous page. Y'all have any ideas? In theory this should work right?
Thanks,
Chris