Wells-it.com - Web Hosting

Insert Javascript In PHP Code

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

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
Modrater

He has: 6,157 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.

-Dotbob.com Limited Time SALE!:
.MOBI $9.98 .ORG $2.99 .IN $13.98 /.EU Only $13.99 / .INFO $2.15 / .ORG $2.99 -Dotbob.com