How can I insert select list value's(dropdown) name and id into database ? Help will be appreciated.

Hi, can you post some code you already created?
What I can say is that you will have one form post/get method that will point to php page if you use php. In that form you will have your select with all possible values.
In php page you will process request and get value from request GET/POST[idOfSelect].
You will create SQL query connect to database and execute that querry.
If everything went good you can return sucessfull message if no then return error.
If you need more help please post some code.
Regards, Mike.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.