Re: Re: Newbie PAssing $variables in URL

From: Date: Mon, 28 Apr 2003 08:50:59 +0000
Subject: Re: Re: Newbie PAssing $variables in URL
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-145485@lists.php.net to get a copy of this message
The preferred method should is POST not GET. Although, if you know how to do GET I suppose no harm done. -Dan Anderson On Mon, 2003-04-28 at 04:28, Jean-Christian Imbeault wrote: > 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 (#145485) next »