Jump to content

PHP echo problem


peterjc

Recommended Posts

I am not an expert in php.

 

 

I want to use php to print out the script so that it will display on the screen. 

 

example: echo '<script type="text/javascript"> the script inside here</script>';

 

The example above will not print it on the screen instead it will run the code.

 

Could someone tell me how to print the script so that it will display on the screen?

 

Thank

Link to comment
https://forums.phpfreaks.com/topic/82622-php-echo-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.