![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/09/2009, 21:18
|
![Avatar de Jota_sk](http://static.forosdelweb.com/customavatars/avatar263898_2.gif) | | | Fecha de Ingreso: octubre-2008
Mensajes: 188
Antigüedad: 16 años, 4 meses Puntos: 0 | |
Respuesta: Uso de variables dentro de un while No estoy muy seguro, pero creo que te falta poner el name de cada option, para saber cual has seleccionado.
while($myrow = mysql_fetch_array($result))
{
printf ("<OPTION NAME=$myrow['Id_Carrera'] VALUE=\'%s\ '>%s</option>",$myrow['Id_Carrera'],$myrow['Nombre']);
}}
por ejemplo te he puesto que el name de cada option sea el id de carrera, pruebalo |