Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/04/2007, 08:25
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Re: Mandar count(*) en pantalla

Código PHP:
<?

$conectID 
odbc_connect("pruebas","","");

$query odbc_exec($conectID,"SELECT count(*) AS 'total' from gente");
$row odbc_fetch_array($query);
echo 
$row['total'];

odbc_close($conectID);  
?>