Ver Mensaje Individual
  #26 (permalink)  
Antiguo 17/04/2012, 16:28
Avatar de oscartt67
oscartt67
 
Fecha de Ingreso: abril-2012
Ubicación: fonollosa
Mensajes: 481
Antigüedad: 12 años
Puntos: 97
Respuesta: Verificar si existen varios registros en una BD

$sql = "SELECT * FROM proyecto WHERE "+$where; mal!!!
$sql = "SELECT * FROM proyecto WHERE $where"; bien!!!