Page 1 of 1

Undefined Variable

Posted: Sat May 27, 2006 9:15 pm
by cscrofani
Hi Everyone,

Now 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:

Code: Select all

$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. Any ideas?

Thanks,
Chris

Posted: Sat May 27, 2006 9:17 pm
by hawleyjr
Moved to this topic. No need to start a new topic ;)

viewtopic.php?p=267218#267218