Este es el código del problema:
....más código...
Código HTML:
Ver original<form name="pedsec" method="POST" action="http://fp1.formmail.com/cgi-bin/fm192" onSubmit="return checkFields()"> <input type="hidden" name="_pid" value="46043"> <input type="hidden" name="_fid" value="F1SIV2RB"> <input type="hidden" name="subject" value="Pedidos Midis"> <input type="hidden" name="redirect" value="http://www.prolatin.com/sml/gracias.php"> <input type="hidden" name="recipient" value="1"> <input type=hidden name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT"> <input type=hidden name="text_color" value="#0000FF"> <input type=hidden name="sort" value="order:nombre,email,ciudad,tel,numwes">
......más código....
Código PHP:
Ver originalwhile($row=mysql_fetch_array($result)){
echo '<tr><td>'.$row["CLASE"].'</td>';
$midi=strtolower($row["ARCHIVO"]);
?>
<td>
<a href="javascript:void(null)" onclick="mp3('http://www.prolatin.com/demos/<?php echo $midi;?>',1,350,120)"><?php echo $row["TEMA"]; ?></a>
</td>
<?php
echo '<td>'.$row["RITMO"].'</td>';
echo '<td>'.$row["AUTOR"].'</td>';
echo '<td>'.$row["ARREGLO"].'</td>';
echo '<td>'.substr($row["FECHA"],-19,4).'</td>';?> <td><input type='checkbox' name="<?php echo $row["TEMA"];?>">
</td></tr>
<?php
}
?>
.....más código.....
...</form>
Pueden ver un ejemplo de prueba en:
http://www.prolatin.com/sml/pedidos.php
El usuario marca en la columna PED por medio del checkbox los temas que desea que se le envíen ( entre 735) pero al procesar la forma no está reconociendo el valor del checkbox que debe ser en cada caso el nombre del tema Midi.
¿Podrían ayudarme, por favor? Gracias!!!