[PHP] Variable Assignment

2002-09-09 Thread Kicenko, Frank


Hi,
I apologize for asking this question as it must have been asked many times
before but I can't find it in any of the archives.. 

What I would like to do is setup forms in javascript and then on a submit to
assign these variables to PHP variables. I know how to assign PHP to
javascript with the ?= $foo ? or ?= echo $foo ? but I don't know how
to do the reverse. Can anyone help?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Variable Assignment

2002-09-09 Thread Tom Rogers

Hi,

Tuesday, September 10, 2002, 7:08:27 AM, you wrote:

KF Hi,
KF I apologize for asking this question as it must have been asked many times
KF before but I can't find it in any of the archives.. 

KF What I would like to do is setup forms in javascript and then on a submit to
KF assign these variables to PHP variables. I know how to assign PHP to
KF javascript with the ?= $foo ? or ?= echo $foo ? but I don't know how
KF to do the reverse. Can anyone help?

Use a form with hidden fields named the same as the php variables you
need and use javascript to assign values to
them then submit.

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php