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.

PHP Arrow Operator Issue

Featured Replies

I'm trying to show some data:text/html in the webviewer using php. when i put in

<?php ....some php code....

$var->showMap($markers);?>

The webviewer is displaying "showMap($markers);?>"

It appears the Arrow Operator is creating an issue?

Has anyone seen this? Know of a work-around?

Doubtful.

You need a webserver to run and process the PHP, you can't just stick it into a web viewer.

The reason you are seeing what you are seeing is because the browser sees:

<[misc content here]>showMap($markers);?>

e.g.

some content

If you want to run PHP to produce some HTML you can use the Scodigo plugin.

  • Author

Thanks for the input. I've tried Scodigo and it was throwing some other variable errors, that's when I tried just the webviewer. I'll post the errors on the Scodigo boards, maybe something will pan out.

Bob

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.