On Mon, 08 Nov 2004 14:04:37 -0600, David Zawislak <da*******@excite.com> wrote:
Don wrote:
How do I pass PHP variables to JavaScript in the returned browser page?
Thanks,
Don
Well, you could do this if you have a variable $_POST['name']:
...
some javascript
....
echo 'var name = ' . $_POST['name'];
...
Just like HTML, but you write valid javascript.
Thanks David. That worked just fine.
Regards,
Don
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---