Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

My Interface between FM PHP API and PHP - Review

Featured Replies

  • Newbies

Hi Guys,

I originally wrote something like this for work, but I took it home, re-wrote it to work for anybody as long as they setup the config file.

It is still in very early BETA stages, but I would love your opinions, recommendations and critisism on it.

Here is the download link: https://github.com/DarkMantisCS/FileMaker-PHP-API--Easy-to-Use-

The idea is that you don't have to keep creating instances of the FM PHP API, you just create one instance of the FMDB class and you can call all of the custom functions from within there.

I know there is no documentation on there atm which may make it difficult for you to actually interporate it exactly but I will get round to that.

Its design allows the user to interact with the PHP API a lot quicker and easier, without having to re-write a lot of code everytime they want to call a FM PHP API function.

For example:


<?php

$fmdb = new FMDB();



$select = $fmdb->select( 'Layout', array(

    'FieldName' =>  'SomeValue'

));



foreach( $select as $k => $v ){

    echo $k . ' => ' . $v;

}

?>

Please let me know what you think!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.