just put the checkbox in a form as <form name="frmSomeThing" action="<?=$_SERVER['PHP_SELF']?>" method="post"> <input type="checkbox" name="option2" value="image" checked> Butter </form> then on the same page or if you using a different page as action script page. just put the following line $strOption2 = $_REQUEST['option2']; in the $strOption2 you will got "image" then run the query and insert it into DB. okay manika bhatia <manika_bhatia@xxxxxxxxxxx> wrote: how to define value as image in checkbox in form and get the value of image with checkbox and submit it into database <input type="checkbox" name="option2" value="image" checked> Butter<br thanks --------------------------------- >From Chandigarh to Chennai - find friends all over India. Click here. [Non-text portions of this message have been removed] Best Regards, Abdul Qadir Web Designer & Developer Cell: +923335760105 +923455611619 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed]