Re: Newbie PAssing $variables in URL

From: Date: Mon, 28 Apr 2003 08:28:52 +0000
Subject: Re: Newbie PAssing $variables in URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145480@lists.php.net to get a copy of this message
Bobby Rahman wrote:
I want to send the contents of a variable $project which is selected from a drop down box within the script.
If you want to send form data you need a FORM ... your code doesn't have a form. I would suggest reading up on HTML FORMs. You need something like: <form action="myFile.php" method="GET"> <select name="list"> <option value="1">1</option> <option value="2">2</option> </select> <input type="submit"> </form> ~ Jean-Christian Imbeault

« previous php.general (#145480) next »