From: | Lynna Landstreet <lynna(at)spidersilk(dot)net> |
---|---|
To: | PgSQL-PHP Mailing List <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: Retrieving result of COUNT(*) with PHP |
Date: | 2007-03-29 13:27:22 |
Message-ID: | C23136FA.4B0B0%lynna@spidersilk.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Hi there,
OK, in tinkering around with this further, I seem to have solved it, and
everything is working now - thought I'm still not 100% sure why it wasn't
before!
I did find an error in the count_query string at one point that would have
accounted for it bringing up a different result than the actual number of
results the search query brought in - but I'm reasonably sure at some point
during this I had copied and pasted the count query into phpPgAdmin and
gotten a result that was consistent with the search query, but then got a
different result in my PHP script. Still not sure how that happened...
But anyway, the important part is it's working now. Thanks to everyone who
replied!
Lynna
--
Spider Silk Design - http://www.spidersilk.net
509 St Clair W Box 73576, Toronto ON Canada M6C 1C0
Tel 416.651.2899 - Toll Free 1.866.651.2899 - Cell 416.873.9289
From | Date | Subject | |
---|---|---|---|
Next Message | enzo venegas palacios | 2007-04-13 16:04:24 | value of record |
Previous Message | Mihail Mihailov | 2007-03-29 09:49:07 | Re: Retrieving result of COUNT(*) with PHP |