![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/07/2012, 17:44
|
|
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; ?>
<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 |