On Wednesday 28 March 2007 14:31, "Valentín Orfila"
<valentinorfila(at)gmail(dot)com> wrote:
> Where people this the way I do, count (*) could be slower
>
> <?
> $sql = "select * from TableName";
> $count = pg_query($sql);
> $count = pg_num_rows($count);
> ?>
> <td ><?=$count?></td>
>
> I thing that's enough :)
Apparently you have no tables with any real amount of data in them.
--
"It is a besetting vice of democracies to substitute public opinion for
law." - James Fenimore Cooper