Ver Mensaje Individual
  #13 (permalink)  
Antiguo 19/07/2012, 17:44
webankenovi
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: Conexion de dos botones select

asi de primeras veo varios errores, te los corrijo en rojo

<div align = center >
<form action="" method="post">
<label>Deles su merecido!</label>
<br>
<br>
<?php echo $A; ?>
&nbsp;&nbsp;&nbsp;


<select name=<?php echo $A; ?>>
<?php while($arreglo1 = mysql_fetch_array($q1)){?>
<option value="<?php echo$arreglo1['id'];?>"><?php echo $arreglo1['calificacion'] ;?></option>
<?php }?>
</select>

<?php
require_once("conexion3.php");
mysql_query("UPDATE comercios SET calidad='".$arreglo1['calificacion']."' WHERE ID=1", $conexion);
?>
<br>
<br>
<input type="submit" value="Enviar sugerencia">
</form>
</div>


prueba haber