[FX.php List] Create record failure

Andre Rabha Tozzini andre at estudiosmega.com.br
Thu Apr 27 11:41:04 MDT 2006


Hi Bob,

Did you start the session ???

Best Wishes...

Andre Tozzini


On 27/04/2006, at 14:28, Bob Patin wrote:

> I'm stumped; I'm trying a simple command to create a record, which  
> I've done countless times, and I keep getting a 509 error; here's  
> the code:
>
> include_once('FX/FX.php');
> include_once('FX/server_data.php');
>
> $email=$_POST['email'];
> $ac=$_SESSION['ac'];
>
> $create=new FX($serverIP,$webCompanionPort);
> $create->SetDBData('database.fp7','online_orders',all);
> $create->SetDBPassword('pw','un');
> $create->AddDBParam('affiliate_code',$ac);
> $create->AddDBParam('email',$email);
> $createResult=$create->FMNew();
>
> When I echo out the email address and "ac," they both have valid  
> values, and my database isn't expecting anything particular for  
> those 2 fields. Why am I getting the 509 (Field requires a valid  
> value) error?
>
> Thanks,
>
> Bob
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list