element in the SELECT query
| From: | Sharmad Naik | Date: | Wed, 11 Apr 2001 19:59:41 +0000 |
| Subject: | element in the SELECT query | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8496@lists.php.net to get a copy of this message | ||
say u say a query like
SELECT * from user where user='sharmad';
Is there any variable like pg_Result that will count the number of differnet
values in * ?
like i wanted to give something like
for($i=0;$i<pg_NumRows;$i++){
for ($j=0;$j<***Tell me what to put here *** ;$j++){
echo pg_Result($result,$i,$j);
}
}
-Regards
--
The secret of the universe is @*&í!'ñ^#+ NO CARRIER
__ _ _ _ _
|_|_||_||_||\/||_|| \
_|| || || \| || ||_/