PHP2005 Posted October 1, 2007 Posted October 1, 2007 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.
Recommended Posts
This topic is 6332 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now