[FX.php List] help debugging editCompany.php please (Resolved)
Jonathan Schwartz
jschwartz at exit445.com
Tue Aug 26 08:54:44 MDT 2008
Drat..I was going to say that.;-)
Either that, or to check whether the coffee pot was plugged in.
J
At 9:44 AM -0500 8/26/08, John Funk wrote:
>Thanks for the input.
>The problem was my original form. The hidden
>input fields were NOT inside the form brackets.
>My bad..
>Nice to have a sounding board.
>John
>
>
>From: Bob Patin [mailto:bob at patin.com]
>Sent: Tuesday, August 26, 2008 8:52 AM
>To: csinfo at comcast.net; FX.php Discussion List
>Subject: Re: [FX.php List] help debugging editCompany.php please
>
>The 958 error usually shows that you need to be
>using UTF-8; is your submit form using UTF-8?
>
>Bob Patin
>Longterm Solutions
><mailto:bob at longtermsolutions.com>bob at longtermsolutions.com
>615-333-6858
><http://www.longtermsolutions.com>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
><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list
--
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-370-5011
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20080826/bdd53ef9/attachment.html
More information about the FX.php_List
mailing list