Re: [PHP-DB] Problem with PDO Mysql and FETCH::ASSOC

[email protected] (Thomas Robitaille)
Newsgroups php.db
Message-ID <[email protected]>
>> Does anyone have any ideas as to what I might be doing wrong?
>>
>> Thanks for any help!
>>
>> Thomas
>>
>
> First of all check if you are actually connecting to the same  
> database both times.
>
> Start with printing $GLOBALS['database'] and see if it connects  
> where you really want.
>
> You mentioned a field "def" while printing the query's output which  
> obviously is not included in the table's description. Have you  
> changed the schema in the meantime?

Thanks for your suggestions.

I've managed to fix the issue by switching to a 32-bit installation of  
MySQL and Apache. The problem appeared to be due to the 64-bit  
versions somehow.

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.