Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/03/2004, 01:56
chari
 
Fecha de Ingreso: diciembre-2002
Mensajes: 130
Antigüedad: 21 años, 4 meses
Puntos: 0
Cual Es El Problema De Este Codigo

$listanombre = mysql_query("SELECT * from PERSONAL WHERE NIVEL <9 ORDER BY NOMBRE");

$row = mysql_fetch_array($listanombre);

while ($row) {
$nomlista = $row["NOMBRE"];
if ($nombres == $nomlista) {
print "<option value=\"$nomlista\" SELECTED>" . $row["NOMBRE"] . "</option>";
}
else {
print "<option value=\"$nomlista\">" . $row["NOMBRE"] . "</option>";
}
$row = mysql_fetch_array($listanombre);
}