[FX.php List] code
Bob Patin
bob at patin.com
Thu Nov 13 12:15:58 MST 2008
here's the code I'm using in an actual site:
$totals=new FX($serverIP,$webCompanionPort);
$totals->SetDBData($dbname,'Orders_Temp');
$totals->SetDBPassword('xxx','yyyy');
$totals->AddDBParam('order_number',$_SESSION['order_number']);
$totalsResult=$totals->FMFind();
foreach($totalsResult['data']as $key=>$totalsData);
list( $recid, $modid ) = explode( '.', $key );
echo $recid;
That should return a recordID, if your LIST function is correct... ?
Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
iChat/AIM: bobpatin
FileMaker 9 Certified Developer
Member of FileMaker Business Alliance
--------------------------
FileMaker hosting and consulting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting
More information about the FX.php_List
mailing list