Re: Weird browser bug (I think)

From: Date: Thu, 15 May 2003 17:48:20 +0000
Subject: Re: Weird browser bug (I think)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147747@lists.php.net to get a copy of this message
----- Original Message ----- From: "Brian V Bonini" <b-bonini@cox.net> To: "PHP Lists" <php-general@lists.php.net> Sent: Thursday, May 15, 2003 10:57 AM Subject: [PHP] Weird browser bug (I think) > I have this ..shnip.. > Select Calories (number of cals replaced per hour): > <select name="r_calories"> > <option value="250">250</option> > <option value="500" selected="selected">500</option> > <option value="750">750</option> > <option value="1000">1000</option> > </select> > > However, when this is displayed by the browser (Mozilla) it > defaults to 1000 BUT if I take this same snippet of HTML and > paste it into the page so it's NOT created dynamically it's > fine and defaults to 500. Only when it's created via PHP does it > default to 1000. Only seems to effect Mozilla only, IE and Opera > are ok with it. Heck, even Lynx is ok with it. > > Any thoughts? The proper HTML syntax looks like this.. <option value="" SELECTED></option> - Kevin

« previous php.general (#147747) next »