rajmohan Posted September 20, 2006 Share Posted September 20, 2006 Hello guy I want to to write a javascript inside php who to write it please help me Link to comment https://forums.phpfreaks.com/topic/21388-how-to-write-javascript-inside-php-it-is-possible/ Share on other sites More sharing options...
shocker-z Posted September 20, 2006 Share Posted September 20, 2006 do you mean like create a javascript from variables in php if so then you can do it like thisecho '<javascript language="javascript">';echo "all your code here and variables just like $var will work";echo '</script>';RegardsLiam Link to comment https://forums.phpfreaks.com/topic/21388-how-to-write-javascript-inside-php-it-is-possible/#findComment-95209 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.