Re: [PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread James E Hicks III
I'd like to make a few changes here to hopefully answer the original question. On Wednesday 28 July 2004 01:35 pm, Ed Lazor wrote: echo ""; while ($record = mysql_fetch_array($results)) { if ($_POST["record"] == $record["ID"]){ $SELECTED = " SELECTED "; } else {

RE: [PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Ed Lazor
> > Can you see any obvious problems I might miss.? You're specifying a variable for the option's text, but you also need to specify the option's value. For example, if you were retrieving data from MySQL: while ($record = mysql_fetch_array($results)) { echo "" . $record["Title"] . "\

RE: [PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Ford, Mike [LSS]
On 28 July 2004 12:50, Harlequin wrote: > OK David. > > But here's the conundrum: > > a User has already selected a value which is stored in the database. > Can I Display a range of tags but make the one the user > selected previously as the default...? That's been asked and answered many tim