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 6027 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a relational database and in one of the layout I have a portal which shows a list of record, my problem is if I want to add more information to a field which is a portal to that ID number using the fx.php how would I do in order to do not delete the previous record. I am not sure what am I doing wrong. Any help will be appreciated.

Here is what I have:

$edit_member = new FX($serverIP,$webCompanionPort);

$company_id = $_GET[company_id];

$name= $_GET[name];

$recid = $_GET[recid];

$edit_member->SetDBData(members.fp7',’web’);

$edit_member->AddDBParam('-recid',$recid);

$edit_member->AddDBParam('company_id',$company_id);

$edit_member->AddDBParam('name',$name);

$edited = $edit_member->FMEdit();

?>

<?php

foreach ($edited['data'] as $recordKey =>$recordData) {

?>

<?php echo $recordData['company_id'][0]; ?>

<?php echo $recordData[‘name’][0]; ?>

<?php } ?>

Thank you

This topic is 6027 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.