Meaningless Drivel is fun!
The moose likes PHP and the fly likes How to use optgroup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Languages » PHP
Reply locked New topic

How to use optgroup

Mahtab Alam
Ranch Hand

Joined: Mar 28, 2012
Posts: 372

How to work with optgroup , to retrieve the selected option.
I want to insert the selected option in the database , how can i do that.

How to get the selected value and make a query to insert in the table in database. , Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63540

The same way as any other select element. The use of optgroups does not change how a select functions.

Please continue in your original post.

[Asking smart questions] [About Bear] [Books by Bear]
wood burning stoves
subject: How to use optgroup
It's not a secret anymore!