No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
HI, I have a form that has more than one checkbox. I need to store the checkbox value in mysql. I am using php code.I am not sure of the code of storing the checkbox value to the database. Your help will be much appreciated. Thanks Tryphy |
|
i want to save the velue of check boxes on run time .....n when the form for the particular id is opened again it must show that the previous check box as checked or marked so that the user can check the new check box update it as well |
|
[CODE]:if(isset($_REQUEST["convert"])) { $Registration_num=$_REQUEST['reg_num']; echo decbin($Registration_num); } [/CODE] i want to insert the binary number into the text feild which is the output of the decimal number....it is getting echoe but want that num in another textfeild to display so that ican use it in other forms |
|
this code is echoeing table the times i enter the reccord for a particular registration number.plx help me out!!!! [CODE]if(isset($_REQUEST["Submit"])) { $Registration_num=$_REQUEST['reg_num']; $query1=mysql_query("SELECT * from medicines where Registration_num = '$Registration_num'") ; while($row=mysql_fetch_array($query1)) { $query="select * from medicines where Registration_num='$Registration_num'"; $result=mysql_query($query); mysql_query($query); echo "<table border=1>"; echo "<br><tr><td><b> <font color='#CC66FF'>Id</td><td><b>Prescribed_med</td><td><b>allergic_med</td><td><b>Dosage_unit</td>"; while($row=mysql_fetch_array($result)) { … |