I want to select CheckBox based on data retrieved from mysql database table.
Could anyone show me the simple way of doing it.
Data store in table under colum "sectionOfInterest" is shown below
------------------------------------------------------------------------
"Commercial Security Middle East, Homeland Security and Policing Middle East, "
-----------------------------------------------------------------------------------
[HTML]
<table border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" width="86%">
<tr>
<td height="20" colspan="3">Please indicate which section of
exhibition you are most interested in?</td>
</tr>
<tr>
<td width="94" height="20"> </td>
<td height="20">
<input type="checkbox" name="chkSectionInterested[]" value="Commercial Security Middle East" style="font-family: Arial; font-size: 10pt; border: 0px solid #C0C0C0; padding: 0">Commercial
Security Middle East</td>
<td width="4" height="20"> </td>
</tr>
<tr>
<td width="94" height="20"> </td>
<td height="20">
<input type="checkbox" name="chkSectionInterested[]" value="Fire and Rescue Middle East" style="font-family: Arial; font-size: 10pt; border: 0px solid #C0C0C0; padding: 0">Fire
and Rescue Middle East</td>
<td width="4" height="20"> </td>
</tr>
<tr>
<td width="94" height="20"> </td>
<td height="20">
<input type="checkbox" name="chkSectionInterested[]" value="Safety & Health Middle East" style="font-family: Arial; font-size: 10pt; border: 0px solid #C0C0C0; padding: 0">Safety
& Health Middle East</td>
<td width="4" height="20"> </td>
</tr>
<tr>
<td width="94" height="10"></td>
<td height="10">
<input type="checkbox" name="chkSectionInterested[]" value="Homeland Security and Policing Middle East" style="font-family: Arial; font-size: 10pt; border: 0px solid #C0C0C0; padding: 0">Homeland
Security and Policing Middle East</td>
<td width="4" height="10"></td>
</tr>
<tr>
<td width="94" height="10"></td>
<td height="10">
<input type="checkbox" name="chkSectionInterested[]" value="Conference" style="font-family: Arial; font-size: 10pt; border: 0px solid #C0C0C0; padding: 0">Conference</td>
<td width="4" height="10"></td>
</tr>
</table>
[/HTML]