¿En serio?
Código PHP:
while ($row=mysql_fetch_array($result))
{
echo '<tr> <td align="center"><input type="checkbox" name="casilla[] value=<? echo $rows["cod_producto"]; ?></td>';
echo '<td align="center">'.$row["nombre_producto"].'</td>';
echo '<td align="center">'.$row["descripcion"].'</td>';
echo '<td align="center">'.$row["precio"].'</td>';
echo '<td align="center">'.$row["cantidad"].'</td>';
'</tr>';
}
¿No sería así en realidad?:
Código PHP:
while ($row=mysql_fetch_array($result))
{
echo '<tr> <td align="center"><input type="checkbox" name="casilla[] value='.$rows["cod_producto"].'</td>';
echo '<td align="center">'.$row["nombre_producto"].'</td>';
echo '<td align="center">'.$row["descripcion"].'</td>';
echo '<td align="center">'.$row["precio"].'</td>';
echo '<td align="center">'.$row["cantidad"].'</td>';
echo '</tr>';
}