
15/01/2009, 17:40
|
| | Fecha de Ingreso: diciembre-2008
Mensajes: 122
Antigüedad: 16 años, 3 meses Puntos: 1 | |
Respuesta: datos repetido bueno eso que me dieron evidente no anda o algo le falta lo e probado solo con un menu select por las didas y no anda la verdad no se que hacer si ahi alguna solucion que me den por favor que nade les agredeceria desde ya muchas gracias aca les pego el codigo de lo ultimo que intente.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Empresas del Norte</title>
<style type="text/css">
<!--
body {
background-image: url();
margin-left: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
background-repeat: no-repeat;
}
.Estilo6 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #999999; }
.Estilo7 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #999999; font-weight: bold; }
.Estilo3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #cccccc;
font-weight: bold;
}
.Estilo9 {color: #FFFFFF}
.Estilo10 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight: bold; }
-->
</style>
</head>
<body>
<span class="Estilo7">
<select name="provincia" class="Estilo7" id="provincia" style="background-color:#30405B">
<option value="hh">Elija una opcion...........</option>
<?
require("conectar.php");
$sql = mysql_query("SELECT DISTINCT (*) FROM datos");
while($rs=mysql_fetch_array($sql)){
echo "<option value=".$rs['provincia'].">".$rs['provincia']."</option>";
}
?>
</select>
</span>
</body>
</html> |