[FX.php List] Getting "-recid" for 1 record

AC ac at pottnerconsulting.ca
Tue Jul 18 11:29:57 MDT 2006


If I know that only 1 record is returned then I can use the following 
to get data from that record;

$ResultAll=$Search->FMEdit();
$ResultOne=current($ResultAll['data']);
echo('ID=' . $ResultOne['ID'][0]);



How would I do the same thing to get the "-recid" without doing the 
following loop thing?

foreach($ResultAll['data'] as $key=>$ResultOne){
    $TheRecIDModNum=explode('.',$key);
    $TheRecID=$TheRecIDModNum[0];
}



More information about the FX.php_List mailing list