Check Box Input Value

	echo "<tr><td><input type='checkbox' name='chk[]'></td>";
	echo "<td>" . $row['test_name'] . "</td></tr>";

Hi Guys,

Please help me with this code because I want the value of my checkbox according to the data of my table in sql.
Appreciate your help thanks.

RC

echo '<tr><td><input type="checkbox" name="chk[]" value="'.$row['field'].'"></td>';

thank you so much megazoid. :slight_smile: works perfectly.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.