rellis32 Posted August 27, 2009 Posted August 27, 2009 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?
Genx Posted August 27, 2009 Posted August 27, 2009 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.
rellis32 Posted August 27, 2009 Author Posted August 27, 2009 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
Recommended Posts
This topic is 5579 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 accountSign in
Already have an account? Sign in here.
Sign In Now