If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Drop-Down List?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-12, 03:53
Amberrosereynolds Amberrosereynolds is offline
Registered User
 
Join Date: Jan 2012
Location: Peterborough
Posts: 5
Drop-Down List?

Hello!

I would like to know how to create a drop down list where you can select one option from it, and the information chosen is then taken out of the drop down list completely, but the rest of the options remain.

We currently have 3 tables, which will collect the information to go into the drop down list, so its just literally just finding a way to take one option but leave the rest.

Although slightly vague, I hope this information is useful in some way, as it's all I have been given to work with. Any help would be much appreciated!
Thank you
Reply With Quote
  #2 (permalink)  
Old 01-19-12, 05:28
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
this is not a mysql question

what language are you using to receive form input from the web page? php?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 01-19-12, 05:34
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
This is very possible but at a programming level. MySQL does not create dropdowns. Your application creates the dropdowns based on the data returned from queries in the database.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
  #4 (permalink)  
Old 01-19-12, 05:41
Amberrosereynolds Amberrosereynolds is offline
Registered User
 
Join Date: Jan 2012
Location: Peterborough
Posts: 5
Quote:
Originally Posted by it-iss.com View Post
This is very possible but at a programming level. MySQL does not create dropdowns. Your application creates the dropdowns based on the data returned from queries in the database.
This is what were doing (sorry for any confusion) or at least trying to do...
Reply With Quote
  #5 (permalink)  
Old 01-19-12, 10:44
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
..and without knowing which appliciation language you are using I doubt anyone can give you an answer

theres two separate but realted elements
theres the stuff relating to the design of the db and subsequent data manipulation (interacting with the database almost certainly via SQL)
and there's the front end the user interface. so faqr we are guessing you are using MySQL as your data storage and manipulation bit and that uses SQL. but as to your front end, who knows
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Tags
help needed, sql

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On