i have a checkbox to show the below contents. how can i store the value of checkbox whether checkbox is checked or not and i have to get the value when checked any one suggest me am beginner to php

this is my html :
<input name="check_1" id="check" value="1" type="checkbox" style="display:none;">



Query for when checked using flag:


$qryfortextboxdetails2=$ObjDB->QueryObject("SELECT fld_req_notitle as notitle, fld_req_maxrecom as maxrecom, fld_req_totcombi as totcombi  
                                                                           FROM tablename 
                                                                           WHERE fld_rpt_data_id='".$id."' AND fld_delstatus='0'AND fld_flag='1'"
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.