RE: PDO fetch_obj - question
| From: | MEM | Date: | Tue, 14 Apr 2009 21:36:18 +0000 |
| Subject: | RE: PDO fetch_obj - question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-291502@lists.php.net to get a copy of this message | ||
Hi there,
Ive made a fetch_obj and, as stated on some sites, it returns a anonymous
object where the properties will have the name of our columns database.
However, when I do this, I notice that instead of giving me the column names
as they are typed on the DB I get them uppercase. So, when my database field
is id_dog to retrieve the property properly I have to search for ID_DOG
Why is this? Is this a normal behavior?
Thanks a lot,
Márcio
Ok
I found the answer here:
http://bugs.php.net/bug.php?id=42632
<http://bugs.php.net/bug.php?id=42632&edit=1>
&edit=1
Regards once again,
Márcio