Re: Rows in tables...

Поиск
Список
Период
Сортировка
От Dorin Grunberg
Тема Re: Rows in tables...
Дата
Msg-id 4.2.0.58.20010219163937.00ac95f0@pophost
обсуждение исходный текст
Ответ на Rows in tables...  (Herb Pabst <herbie@nextearth.com>)
Список pgsql-php
Use: pg_NumRows($result)

and

$result = pg_Exec ($conn, $sql);

All the best,
Dorin Grunberg

At 04:40 PM 2/19/2001 -0500, Herb Pabst wrote:
>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 по дате отправления:

Предыдущее
От: Herb Pabst
Дата:
Сообщение: Rows in tables...
Следующее
От: "Mitch Vincent"
Дата:
Сообщение: Re: Rows in tables...