
08/07/2011, 13:45
|
 | | | Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 15 años, 1 mes 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 |