Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6332 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.