Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/07/2008, 13:08
Avatar de fhonorato
fhonorato
 
Fecha de Ingreso: julio-2008
Ubicación: Talca, Chile
Mensajes: 36
Antigüedad: 18 años, 3 meses
Puntos: 1
Respuesta: SELECT COUNT(*) con php

es necesario el mysqli ?

...

podrias usar:
Código PHP:
$query = "SELECT COUNT(*) FROM db65;"; 
$result = mysql_query($query);
$count = mysql_fetch_array($result);
echo 
"$count[0]";