![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/06/2004, 09:47
|
![Avatar de living](http://static.forosdelweb.com/customavatars/avatar65604_1.gif) | | | Fecha de Ingreso: mayo-2004
Mensajes: 1.266
Antigüedad: 20 años, 8 meses Puntos: 2 | |
Con lo que te he puesto yo o rasmarko te vale:
$id=341;
$query="select count(id) as numReg from tabla where ID='$id'";
$result=mysql_query($query);
$numReg=mysql_result($result,0,"numReg")
echo "Total Registros:".$numReg; |