Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help - add record into a field using fx.php

Featured Replies

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.