August 1, 200817 yr 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