FileMaker PHP API Record ID Problem
I'm building a list of records, and adding the record ID with the following code:
$entry['recordID'] = $record->getRecordId();
But the recordID returned seems to be one off from what is actually in FileMaker.
For example, I build a list of classrooms, and add their recordID in a link to edit the students within, like:
Then on edit_students.php, I try to load the students in with:
$cmd = $this->fm->newFindCommand('students');
Every time I do this, it loads the classroom with $classroom_id + 1.
Nvm, figured it out.