Rows in tables... - Mailing list pgsql-php

From Herb Pabst
Subject Rows in tables...
Date
Msg-id 3A9192B7.EF0D1A2B@nextearth.com
Whole thread Raw
Responses Re: Rows in tables...
List pgsql-php
What is the easiest way to get the total number of
rows in a table? I want to do a random pick from a
table and need to know how many rows are in the
table.

Do I do a "SELECT * FROM table" and use the info
from this, or will a select return all the data?
This is where I'm hazy. Or does fetch_row actually
return the data?

Any help is appreciated,
Herbie Pabst


pgsql-php by date:

Previous
From: Josh Berkus
Date:
Subject: Re: How do I import this?
Next
From: Dorin Grunberg
Date:
Subject: Re: Rows in tables...