October 1, 200718 yr Hi all, I am using FX.php and I am trying to perform a find on a checkbox submitted on a form. But instead showing me the record I had checked, it is showing me all the records. I have no idea what I did wrong. Any help will be appreciated. Thank you in advance Here is what I have: ....... index.php ....... $findrecord = new FX($serverIP,$webCompanionPort); $findrecord->SetDBData('accepted.fp7','Main'); $findrecordResult = $findrecord -> FMFindAll(); <?php foreach($findrecordResult['data'] as $key=>$findrecordData){ ?> <?php echo $findrecordData['Time'][0]; ?> <?php } ?> .......... detail_list.php .......... $findrecord = new FX($serverIP,$webCompanionPort); $findrecord->SetDBData('accepted.fp7','Main'); $findrecord->AddDBParam("-lop","or"); $ID = ""; foreach($_POST[view_detail] as $ID) { $findrecord->AddDBParam("ID", $ID); }; $findrecordResult=$findrecord->FMFind(); Any help will be appreciated.
Create an account or sign in to comment