in select u'll have 
<option value="1">Plant</option>
<option value="2">Tower</option>
<option value="3">Booster</option>
<option value="4">Well</option>

hth
  ----- Original Message ----- 
  From: Shay 
  To: [email protected] 
  Sent: Tuesday, January 29, 2008 12:58 AM
  Subject: Re: [php_mysql] Dropdown select


  On Jan 18, 2008 9:15 PM, Brian E Boothe <[EMAIL PROTECTED]> wrote:

  > if i have a dropdown select form on may page and the Selection are
  > Plant
  > Tower
  > Booster
  > Well
  > how can i make it so when and if they select tower it Inserts a 2
  > Somewhere in the database or
  > when they Select WELL it Places a 4 In another Field and the database
  >
  > Plant=1 / Tower=2 / Booster Station=3 / Well=4
  >
  > thanks
  >
  > [Non-text portions of this message have been removed]
  >
  >
  > .
  >
  > 
  >

  http://www.w3schools.com/tags/tag_select.asp

  The above link will describe the select boxes in more detail. The values
  will be passed when reading the answers with PHP. The site also has more
  information about PHP and SQL statements to point you in the right
  direction.

  -- 
  ¤´¨)
  ¸.·´¸.·*´¨) ¸.·*¨)
  (¸.·´ (¸.·`¤ Shay Buchanan
  "We are what we pretend to be, so we must be careful what we pretend to be."
  Kurt Vonnegut

  [Non-text portions of this message have been removed]



   

  __________ NOD32 2830 (20080129) Information __________

  This message was checked by NOD32 antivirus system.
  http://www.eset.com


[Non-text portions of this message have been removed]

Reply via email to