No
PHP is serverside, only the output of the php is sent to the browser
javascript is clientside,
the two meet in AJAX
whcih has a bit of a leaning curve...
What were you trying to accomplish
instead of "some php"
Reputation Points: 561
Solved Threads: 365
Posting Maven
Offline 2,964 posts
since Jan 2009