Re: Another PDO ?
| From: | Bastien Koert | Date: | Mon, 10 Sep 2012 14:49:19 +0000 |
| Subject: | Re: Another PDO ? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-48474@lists.php.net to get a copy of this message | ||
On Mon, Sep 10, 2012 at 9:48 AM, Jim Giner <jim.giner@albanyhandball.com> wrote:
> Reading up on the pdostatement class. Wondering what the intent of the
> columnCount function is. I mean, aren't the number of columns in a result
> known when you write the query? Granted, you might have some very complex
> query that you may not know the number, but for most queries you will know
> the columns you are expecting. So - what am I not seeing?
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
It might be for those cases where you run a select * from ...
--
Bastien
Cat, the other other white meat