Jump to content

PHP Arrow Operator Issue


rellis32

This topic is 5377 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 5377 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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