August 17, 200619 yr <?php // Include FileMaker API require_once ('FileMaker.php'); // Create a new connection to server without specifying hostspec. $fm = new FileMaker('FMPHP_Sample'); // Instantiate a layout object derived from Filemaker object. $lay = new FileMaker_Layout($fm); // If an error is found, return a message and exit. if (FileMaker::isError($lay)) { printf("Error %s: %sn", $lay->getCode()); " "; printf($lay->getMessage()); exit; } // Print out some info of current layout echo "The layout is ".$lay->getName()." ".$lay." "; ?>
Create an account or sign in to comment