![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/07/2004, 12:46
|
![Avatar de living](http://static.forosdelweb.com/customavatars/avatar65604_1.gif) | | | Fecha de Ingreso: mayo-2004
Mensajes: 1.266
Antigüedad: 20 años, 8 meses Puntos: 2 | |
Lo que tienes que hacer es recoger los valores en la página que tienes puesta en el action del formulario:
$valorSelect1=$_POST["nombreprimerselect"];
$valorSelect2=$_POST["nombresegundoselect"];
$valorSelect3=$_POST["nombretercerselect"];
o
$valorSelect1=$_GET["nombreprimerselect"];
$valorSelect2=$_GET["nombresegundoselect"];
$valorSelect3=$_GET["nombretercerselect"];
dependiendo del method usado en tu formulario
y finalmente la query quedaría así:
$sql="select from ppp where pp="$valorSelect1" and tt="$valorSelect2" and aa="$valorSelect1"; |