Hallo
How can i get the values from the check box???
here is my code,
echo'<form name="form1" action="main_page_cp.php" method="POST">';
echo'<table dir="'.$Table_dir.'" align=center>';
echo'<td></td><td class="window01" > Login Name</td><td class="window01"> Date</td><td class="window01">Active</td>';
while($res = mysql_fetch_array($qry)){
echo'<tr>';
$j=1;
echo'<td> * </td>';
while($j < $num_fields){
echo'<td class="window01">';
echo ' '.$res[$j];
echo'</td>'; $j++;
}
echo'<td><input type="checkbox" name="status[]" value="'.$res[0].'"></td>';
echo'</tr>';
}
echo '<tr><td ><input type="submit" name="Active" value="Active"></td></tr>';
echo'</table>';
echo'</form>';