[FX.php List] I hate it when this happens!
Bob Patin
bob at patin.com
Mon Jan 6 11:30:25 MST 2014
OK, a stupid little query and it won’t work; when I run this query
http://www.titanicpigeonforge.com/contest/test.php
I get nothing, which, once I’ve determined that there aren’t any parse errors, that FileMaker’s not doing anything:
<?php
include_once ('FX/FX.php');
include_once ('FX/server_data.php');
// write to database
$q = new FX($serverIP,$webCompanionPort, $dataType, $scheme);
$q->SetDBData( 'Titanic Contest.fmp12', 'web_entry' );
$q->SetDBPassword( $webpw, $webun );
$q->AddDBParam( 'name_first', 'bob' );
$qResult = $q->FMNew();
echo 'error code: '.$qResult['errorCode'];
?>
This is a test page I just wrote; the web layout exists, the privilege set is correct… what can I *possibly* be missing here?
Is there a way to see what is happening when the query returns nothing?
Thanks,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
FileMaker 9, 10, 11 & 12 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com
Twitter: bobpatin
—
FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting
More information about the FX.php_List
mailing list