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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.