At the risk of sounding like a browser-snob...
The quotes probably don't matter in IE, but that's primarily IE allows
(and, in my opinion, encourages) bad coding practices.
Your "echo" command really ought to look like this:
echo "<option value=\"" . $row["ID"] . "\" $selected>" . $row["name"] .
Many coders even forget to put in the closing tag: </option>. That would
work in IE, and probably even in Netscape, but it's bad coding practice.
Strive to keep your code as compliant with XHTML1.1 standards as
possible. When you make the switch to XML, you will find your task much
"Weird-ass browsers" indeed. Hmph.
At 10:41 AM 12/14/2001, you wrote:
>the value can be in single quotes also, altho i dont think quotes matter
>unless you use opera or some other wierdass browser (you can also put
>doubles using \")
Richard S. Crawford
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
MSN: [EMAIL PROTECTED]
"It is only with the heart that we see rightly; what is essential is
invisible to the eye." --Antoine de Saint Exupéry
"Push the button, Max!"
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]