By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,606 Members | 3,802 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,606 IT Pros & Developers. It's quick & easy.

CheckBox Selection Based on data retrieved

P: 8
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">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td width="94" height="20">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td width="94" height="20">&nbsp;</td>
<td height="20">
<input type="checkbox" name="chkSectionInterested[]" value="Safety &amp; Health Middle East" style="font-family: Arial; font-size: 10pt; border: 0px solid #C0C0C0; padding: 0">Safety
&amp; Health Middle East</td>
<td width="4" height="20">&nbsp;</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]
Nov 21 '07 #1
Share this Question
Share on Google+
1 Reply


Atli
Expert 5K+
P: 5,058
Hi.

I'm not exactly sure what you are asking for. Could you elaborate?

Besides that, the experts here at TSDN are more than willing to help you solve problems you may face while writing your code, but that does require you to attempt it first and post what you have tried and why it didn't work.
Nov 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.