Re: [PHP] PHP vars to JS?

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 9:09 am, William Stokes wrote: > How can I get my PHP variable values to a javascript? var x = ; -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP vars to JS?

2006-02-01 Thread Programmer
Oops! I meant mix the two languages. -Original Message- From: Programmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 10:50 AM To: php-general@lists.php.net; 'William Stokes' Subject: RE: [PHP] PHP vars to JS? You can also fixed the two languages as so:

RE: [PHP] PHP vars to JS?

2006-02-01 Thread Programmer
ubject: Re: [PHP] PHP vars to JS? William: I'm not sure if I can answer your question, but I know you can mix javascript with php just like you can with html. For example, I use (below code from a working example): alert("===" + document.form.f.what_db.value + "===")

Re: [PHP] PHP vars to JS?

2006-02-01 Thread tedd
William: I'm not sure if I can answer your question, but I know you can mix javascript with php just like you can with html. For example, I use (below code from a working example): alert("===" + document.form.f.what_db.value + "==="); where "what_db" (above) is a variable genera