Re: Passing Variables

From: Date: Fri, 14 Dec 2001 16:44:09 +0000
Subject: Re: Passing Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77760@lists.php.net to get a copy of this message
Try this in your form ... <input type="hidden" name="login" value="$login"/>
Can someone tell me how to pass a variable in the url? I am using a form and calling a handler file as its action, as in: <FORM NAME="update_list" ACTION="handler.php?login=$login" METHOD="POST"> I've also tried single quotes around the variable $login, as in: <FORM NAME="update_list" ACTION="add_reg_handler.php?login='$login'" METHOD="POST"> Anyone have any suggestions? Cheers, Steve Osborne Database Programmer Chinook Multimedia Inc. s.osborne@chinookmultimedia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Jim Musil --------- Multimedia Programmer Nettmedia ------------- 212-629-0004 jim@nettmedia.com

« previous php.general (#77760) next »