3 Replies Latest reply on Jun 27, 2012 11:08 AM by philmodjunk

    Stucks on $result = $request->execute();

    hava

      Title

      Stucks on $result = $request->execute();

      Post

      Hi, I am trying to get results from the layout but seems it stucks and page always loading. Here is my script code 

       

      $layout_object = $fm->getLayout('web_form');
      if (FileMaker::isError($layout_object)) {
      die('<p>'.$layout_object->getMessage().' (error '.$layout_object->code.')</p>');
      }
      $field_objects = $layout_object->getFields();
      $request = $fm->newFindCommand('web_form');
      $result = $request->execute();
      file_put_contents("filemaker", 'test'); 

       

      What the problem is there ?

      Thanks.