View Single Post
  #1 (permalink)  
Old April 17th, 2007, 05:55 AM
mona_1dec mona_1dec is offline
Registered User
Join Date: Apr 2007
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mona_1dec
Default how to store checkbox value in database

Hi ,
  I want to store value of checkbox which are checked in MySQL database how to do it?

this is in my jsp page.

<input type="checkbox" id="sun" name="sunday" value="Sunday" disabled="true" />Sunday
          <input type="checkbox" id="mon" name="monday" value="Monday" disabled="true" />Monday
          <input type="checkbox" id="tues" name="tuesday" value="Tuesday" disabled="true" />Tueaday
          <input type="checkbox" id="wed" name="wednesday" value="Wednesday" disabled="true" />Wednesday
          <input type="checkbox" id="thurs" name="thursday" value="Thursday" disabled="true" />Thursday
          <input type="checkbox" id="fri" name="friday" value="Friday" disabled="true"/>Friday
          <input type="checkbox" id="sat" name="saturday" value="Saturday" disabled="true" />Saturday<br><br>

please help me.
thanks in advance.

Monali Swarge