GatorV muchas gracias por tu ayuda. Apliqué el código pero me da el siguiente error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
es en esta línea:
Código PHP:
while($result2 = mysql_fetch_array($result2)) {
a que se debe esto???