[FX.php List] help debugging editCompany.php please

Bob Patin bob at patin.com
Tue Aug 26 07:51:42 MDT 2008


The 958 error usually shows that you need to be using UTF-8; is your  
submit form using UTF-8?

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
iChat: bobpatin
AIM: longterm1954
FileMaker 9 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--------------------------
FileMaker hosting and consulting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

On Aug 26, 2008, at 2:34 AM, John Funk wrote:

> 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();
>
> ?>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20080826/3be212d6/attachment.html


More information about the FX.php_List mailing list