Ver Mensaje Individual
  #6 (permalink)  
Antiguo 08/07/2011, 13:45
Avatar de RIVERMILLOS
RIVERMILLOS
 
Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 14 años, 2 meses
Puntos: 15
Respuesta: No me funciona rowCount() pdo

Entonces deberia hacer lo siguiente?

SELECT count(*) FROM tabla where ...

if($result!=0){

SELECT columnas FROM tabla where ...

}else{

haga otra cosa--

}


saludos