Re: php & javascript interaction

From: Date: Fri, 26 Jan 2007 16:53:29 +0000
Subject: Re: php & javascript interaction
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247837@lists.php.net to get a copy of this message
William Stokes wrote:
Hello, I need some advice on how to learn Javascript and PHP interaction. Any good tutorials on the web would be most welcome. I particulary need to learn how to pass JS user input/choices to PHP. My current problem is how to ask user confirmation over his actions on a web form after POST. "Are you sure" type questions and how to pass the user choice back to program make choices with PHP. Thanks -Will For the second question try google with something like "javascript form submit".
For the first question, see:
    http://ca.php.net/manual/en/language.variables.predefined.php
Form data is captured in PHP in a number of different predefined variables accessible from your scripts.  This page defines these varibables.
-- _____________________ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/

« previous php.general (#247837) next »