I have php checkboxes and wanted to send its values in mysql using submit button if the checkboxes are check.
while($grow = mysqli_fetch_array($gresult)) {
$gsymbol = $grow['symbol'];
$gclose = $grow['value'];
echo "<tr><td style='width: 100px;'>".$gsymbol."</td><td>".$gclose.</td<td><input type = 'checkbox' name = 'markings' value = '".$gsymbol."'></td></tr>"};
my question is do I have to echo a form or is there are more easier way. Thanks