[FX.php List] FMDelete returns: 1

Gjermund Gusland Thorsen ggt667 at gmail.com
Sun Mar 20 14:59:46 MDT 2011


Here is my query
---
$q->AddDBParam( '-recid', $_REQUEST['id'] );
$q->SetDBPassword( $webPW, $webUN );
$r = $q->FMDelete();
print_r( $r );
---
It outputs: 1

changing the script slightly gives a full response in an arrary
---
$q->AddDBParam( '-recid', $_REQUEST['id'] );
$q->SetDBPassword( $webPW, $webUN );
$r = $q->FMFindAny();
print_r( $r );
---
starting off with something like this:
Array
(
    [data] => Array
        (
            [5.0] => Array
                (

What gives?


More information about the FX.php_List mailing list