MySQL Forums
Forum List  »  PHP

Re: How To Create dropdown menu in Mysql
Posted by: John C. Clair
Date: February 07, 2017 04:21AM

Drop down lists (select elements) are fairly common in HTML forums.They allow the user to select from a list rather than typing in the data making it easier and reducing typing errors.
Purpose:The user can now choose a CD from the list in the drop down.
Completing the process:At the moment the user chooses a cdtitle which is good for the user but not the data base.The data base needs to know the cdreference as that is the primary key.This is not a problem as HTML.
The value attribute of the form field holds the CD reference for each entry in the drop down.

Options: ReplyQuote


Subject
Written By
Posted
Re: How To Create dropdown menu in Mysql
February 07, 2017 04:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.