
08/07/2002, 16:09
|
 | | | Fecha de Ingreso: diciembre-2001
Mensajes: 5.286
Antigüedad: 23 años, 2 meses Puntos: 1 | |
Re: No me muestra el número de registros Pues otra podría ser así:
$sql = mysql_query("SELECT * FROM foro");
$num_registros=mysql_num_rows($sql);
y otra que no se si funcione
$sql = mysql_query("SELECT count(*) as total FROM foro");
$rs=mysql_fetch_array($sql);
echo $row["total"];
sALUDOS
<center>
<p><a href=http://comunidadguru.com><img border=0 src=http://comunidadguru.com/urjose.gif></a></p>
</center> |