[FX.php List] help debugging editCompany.php please
John Funk
csinfo at comcast.net
Tue Aug 26 01:34:24 MDT 2008
I have a PHP form that shows data for a found company, ok so far..
The form when submitted goes to editCompany.php where I would expect the
data passed from the form to be inserted into FM.
Using the Debug function, the resulting url gives me an error 958.
Below is the editCompany.php: Anyone care to comment?
Thank you,
]John Funk
<?php
//editCompany.php
require_once ('FX/FX.php');
define('DEBUG', True);
$CompanyID = $_REQUEST["CompanyID"]; //$CompanyID is valid
$Company = $_REQUEST["Company"]; //$Company is valid
$request = new FX('127.0.0.1', '80', 'FMPro7');
$request->SetDBData('BoatingIndustry.fp7', 'web_comp');
$request->SetDBUserPass('webuser', 'webpass');
$request->AddDBParam('COMPANY ID', $CompanyID);
$request->AddDBParam('COMPANY', $Company);
$result = $request->FMEdit();
?>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20080826/db1d8873/attachment.html
More information about the FX.php_List
mailing list