Passing Variables
| From: | Steve Osborne | Date: | Fri, 14 Dec 2001 17:38:06 +0000 |
| Subject: | Passing Variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77758@lists.php.net to get a copy of this message | ||
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