PHP Functions

Smartpill includes a PHP extension that adds powerful FileMaker related functions to PHP.

These are actual PHP functions that can be used in your PHP code.

With these functions you can:

  1. Return the results of any FileMaker calculation (a great way to get data from FileMaker from within your PHP code).
  2. Execute SQL against your FileMaker data (includes the ability to select, insert, update and delete data in FileMaker).
  3. Define variables (available at the application level – not restricted to the file level like FileMaker global variables).
  4. Have the user select a file or folder and return the selected path.
  5. Display progress bars.
  6. Trigger scripts.
  7. Define your own errors.
  8. Get parameters passed to your PHPx functions.
  9. Return typed results to FileMaker.