Insert Javascript In PHP Code

They have: 111 posts

Joined: Jun 2006

Hi,
How do I insert javascript in php code?
SBalan Group
http://www.sbalanprojects.com/

Busy's picture

He has: 6,151 posts

Joined: May 2001

Its easier to exit and re enter php, unless your talking about using php variables in javascript

They have: 10 posts

Joined: Aug 2006

Yes, it would be easier to break out of PHP but if you have to you could just use the print() command.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.