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.