...

View Full Version : how can I check a checkbox with a database results



davefederici
02-21-2007, 09:31 PM
Hi, I looking for a script that will check or uncheck checkbox
I have a web base form that displays an database results
from a query, for every row there is a checkbox that the value
= the id field of a table that being queryed when a user checks a box the id value gets written into the database
so I know the checkbox was selected. Now when the user
selects the same form it does a database results to create
the form so how can I show that checkbox now checked I have the id value I just dont know how to check a box by a
script. Please help
Thanks
Dave

glenngv
02-22-2007, 09:05 PM
What's the server-side language you are using? You should do the checking/unchecking on the server-side and not client-side since you want the checkbox state to show on load of the page. Can you show some related codes?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum