AnsweredAssumed Answered

Problem of searching with API PHP

Question asked by PaulKern on Feb 13, 2009
Latest reply on Feb 22, 2009 by PaulKern


Problem of searching with API PHP

Your post



i have a problem with the FileMaker PHP API. I don't use the php assistant, so i make myself the php code.


The FileMaker Server is in version 10 and the FMP client too.


I already have try it with a little FM database (107 records). There is no problem, i can search and find what i want, i can add, edit or delete record so it's easy to publish datas.


Now, i apply the PHP API with a customer db (2,000 records). But i do not feel the same experience. It seems that i can't execute a find command or it never ends.


$findCommand =& $fm->newFindAllCommand($modele);



$findCommand =& $fm->newFindCommand($modele);


doesn't work, i have no error and no result, the transaction seems to expect something.


I only can find data with the getrecordbyid

$record = $fm->getRecordById($modele,$id);


Is there a method to develop or to correct a FileMaker database in case of web publishing ?


Thank you for helping me.