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.

Featured Replies

I am trying out the PHP plugin, and so far it has been pure genius.

I have one issue, and it is quite possible that it is my code.

On win XP p2, FM 8.5, I cannot get the n new line character to work.

I would post code, but even if I do a simple

echo "testn";

with varying combinations of quote marks(single quotes, double quotes, no quotes) I get a PHP warning(see below).

if I do an echo test;

I get the word test in my output field.

Any ideas?

The warning i get:

PHP Warning: Unexpected character in input: '' (ASCII=92) state=1 in Embedded code on line 1

  • Newbies

Hi, I can't replicate your problem. Maybe it is something to do with escaping the quote characters? Anyway, the following code works for me:

PHP_RunScript("echo "testn";" )

Cheers,

Colin

  • Author

Yeah, after I did some more testing, I find I am getting inconsistant reults. It still isn't working for me in some scenarios, but I am trying to narrow those down so that I can give more detailed info, maybe even a sample file.

I'll keep you posted.

It turned out that the issue was due to the use of smart quotes. This is controlled in FileMaker under file options. PHP doesn't recognize smart quotes and thus the error.

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.