![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/10/2012, 12:30
|
![Avatar de afrika026](http://static.forosdelweb.com/customavatars/avatar420734_1.gif) | | | Fecha de Ingreso: junio-2011
Mensajes: 85
Antigüedad: 13 años, 7 meses Puntos: 19 | |
Respuesta: Consulta sobre variable $_GET perdon me confundi con java, el codigo sería el siguiente:
la variable $instalador tiene que estar encerradas con comillas simples.
$result = mysql_query("SELECT * FROM ventas WHERE instalador = '".$instalador."' ORDER BY fecha_venta DESC") or die(mysql_error());
return $result; } |