470,815 Members | 1,105 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

PHP and Javascript tutorial links needed

Can anyone recommend links that explain esp. show examples of how to use
PHP and javascipt in the same page? Thanks. Lee G.
Jul 17 '05 #1
2 1499
You don't actually *use* PHP and JavaScript on the same page as PHP is
server-side and JavaScript is client-side. With PHP you construct an HTML
document which may or may not contain any JavaScript, and after sending this
document to the client browser the PHP process dies. Whatever happens in the
client browser is outside the control of PHP until another HTTP request is
generated.

--
Tony Marston

http://www.tonymarston.net

"leegold2" <le*****@nospam.net> wrote in message
news:sp8jd.2196$DB.1685@trnddc04...
Can anyone recommend links that explain esp. show examples of how to use
PHP and javascipt in the same page? Thanks. Lee G.

Jul 17 '05 #2
Tony Marston wrote:
You don't actually *use* PHP and JavaScript on the same page as PHP is
server-side and JavaScript is client-side. With PHP you construct an HTML
document which may or may not contain any JavaScript, and after sending this
document to the client browser the PHP process dies. Whatever happens in the
client browser is outside the control of PHP until another HTTP request is
generated.

Well, here's one:

http://www.zend.com/zend/tut/tutorial-mehmet2.php

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Gowhera Hussain | last post: by
15 posts views Thread by binnyva | last post: by
9 posts views Thread by gleverett | last post: by
11 posts views Thread by Magnus Lycka | last post: by
13 posts views Thread by Xah Lee | last post: by
12 posts views Thread by Xah Lee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.