[FX.php List] help debugging editCompany.php please (Resolved)

John Funk csinfo at comcast.net
Tue Aug 26 08:44:52 MDT 2008


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

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/a9c59e6b/attachment-0001.html


More information about the FX.php_List mailing list