I'm doing a delete page, and this part is the part where all the data were supposed to be echoed. but, the problem is I don't really know how to print the checkbox within the php. The line 6 is wrong. Kind men, do show me how to write it correctly.
<?php
while($rows=mysql_fetch_array($query)){
echo '<tr>
<td>'
<input name="checkbox[]" type="checkbox" id="checkbox[]" value=".$rows['id'].">
'</td>
<td>'.$rows['Hw_tag'].'</td>
<td>'.$rows['Hw_name'].'</td>
<td>'.$rows['Hw_specs'].'</td>
<td>'.$rows['Hw_purchaseDate'].'</td>
<td>'.$rows['Hw_warrantyExpire'].'</td>
<td>'.$rows['vendor_ID'].'</td>
<td>'.$rows['invoive_ID'].'</td>
</tr>';
}
?>