![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/08/2011, 14:11
|
| | Fecha de Ingreso: agosto-2011
Mensajes: 100
Antigüedad: 13 años, 5 meses Puntos: 1 | |
Respuesta: pg_fetch_array
Código PHP:
Ver original$usu = $_POST["txt_usuario"]; $pass = $_POST["txt_contrasena"]; $consultar = pg_query($con,"select * from USUARIO where NOMBRE = '$usu' and CLAVE = '$pass'") or die('La consulta fallo: ' . pg_last_error()); echo $rs[0];
|