Re: list menu

From: Date: Sun, 02 Feb 2003 10:27:59 +0000
Subject: Re: list menu
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-25338@lists.php.net to get a copy of this message
You mean, with <font>? For this, you need a style sheet, or at least style entry in 'select', like this: <select style='font-family: ...; font-size: ...;' name=property, etc. See http://www.w3.org/Style/ for more info on styles. BTW: if the values are the same a what you are displaying, you don't need value="....". Edwin Addison Ellis wrote:
hi and thank you for your time...
    how do i, as my text fields are echoing a selected value, get my list menus to do the same?
text field has: <? echo $arow->contact; ?> list menu has: <select name="property">
          <option value="<? echo $row->property_type; ?> " selected>
          <? echo $row->property_type; ?>
          </option>
          <option value="house">house</option>
          <option value="condo">condo</option>
          <option value="duplex">duplex</option>
          <option value="apartment">apartment</option>
          <option value="land">land</option>
        </select>
thank you again, addison ellis


« previous php.db (#25338) next »