note 28268 deleted from tutorial.forms by jmcastagnetto

From: Date: Wed, 08 Jan 2003 00:31:51 +0000
Subject: note 28268 deleted from tutorial.forms by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41804@lists.php.net to get a copy of this message
Or, instead of changing the form's method, you could change if($_GET['action']=="submit"){ to if($_POST['action']=="submit"){ You just need to make sure that the form method and the variable ($_GET, $_POST) are the same. Using GET will append the variables to the URL - ie, http://www.site.com/index.php?action-submit Using POST will not display the variables and they're values like this.

« previous php.notes (#41804) next »