Re: [PHP] How to I convert the PHP variable back into Javascript?

2001-04-13 Thread Gianluca Baldo


SF>   I have not been able to put the php variable back into javascript variable
SF> for javascript scripting.  I doubt if it would work if I assign the php
SF> variable to the html variable then have the javascript pick it up.
You don't have "HTML variables"... you have form's fields with a VALUE.

Do something like:

   

for all your fields.

Cheers,
   Gianluca



--
ALBASOFTWARE
C/ Mallorca 186 - 3º 1ª
08036 Barcelona (Spain)
Tel. +34 93454009 - +34 934549324
Fax. +34 934541979
@@ ICQ 47323154 @@
[EMAIL PROTECTED]
http://www.albasoftware.com
http://www.phpauction.org
http://www.gianlucabaldo.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] How to I convert the PHP variable back into Javascript?

2001-04-13 Thread Scott Fletcher

  When I use the form post or get method and when submitted, goes to the
next page.  I can get the data in PHP by adding the "$" to the javascript /
html variable.

  I have not been able to put the php variable back into javascript variable
for javascript scripting.  I doubt if it would work if I assign the php
variable to the html variable then have the javascript pick it up.

Thanks,
 Scott



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]