i already searched about displaying the data fields, my problem is how to retain the checked item and then set its value as 1. please help. i tried some code but didn't work: <html> <form action='' method='post'> <?php $database = 'sample'; $table = 'checklist_stud_columns'; $mysql = mysql_connect('localhost', 'root', '') or die(mysql_error()); mysql_select_db('sample', $mysql) or die(mysql_error($mysql)); // selecting db is not not necessary in this case $query = sprintf(" SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = '%s' AND TABLE_NAME = '%s' ", mysql_real_escape_string($database), mysql_real_escape_string($table) ); $result = mysql_query($query, $mysql) or die(mysql_error($mysql)); while( false!=($row=mysql_fetch_array($result)) ) { $name = htmlspecialchars($row['COLUMN_NAME']); printf("<input type=\"checkbox\" name=\"col[]\" …

Member Avatar
Member Avatar
+0 forum 3

I have found that [CODE]Me.DataBindings.Item(0).BindingMemberInfo.BindingField[/CODE] gives me the name of the field. Can I also find the datacolumncollection in this way?

Member Avatar
+0 forum 0

The End.