AnsweredAssumed Answered

Update record filemaker script and php api

Question asked by SarahRonquilo on Jun 5, 2014
Latest reply on Jun 6, 2014 by philmodjunk

Title

Update record filemaker script and php api

Post

     Hi, Im a total newbie on filemaker scripts. I need a script that will update the record in the filemaker.
     I would like to call the script from my php then pass an array variable containing the data to be updated:

     $editRecord = $_FMP_CONN->newPerformScriptCommand($table, 'Myscript',  $data);


NOTE: $data is an array and $table is layoutname

     I need a filemaker script that would basically go with this algo:
     1: find the record
     2: update the record
     3: get the updated record

      

     Thanks!

Outcomes