ID: 40150 Updated by: [EMAIL PROTECTED] Reported By: chores at jp1 dot cx -Status: Open +Status: Assigned Bug Type: PDO related Operating System: Windows Server 2003 PHP Version: 5.2.1 -Assigned To: +Assigned To: wez
Previous Comments: ------------------------------------------------------------------------ [2007-02-17 11:43:28] chores at jp1 dot cx PHP 5.2.1 non-FIX ------------------------------------------------------------------------ [2007-01-22 16:45:16] chores at jp1 dot cx table(top), expected(center) and actual results(lower part): ----------------------------------------------------------- http://test.jp1.cx/php_bugs/40150.png ------------------------------------------------------------------------ [2007-01-17 16:17:30] [EMAIL PROTECTED] Please do not forget about expected and actual results. ------------------------------------------------------------------------ [2007-01-17 16:12:34] chores at jp1 dot cx Source: ------- <?php mb_internal_encoding('Shift_JIS'); $fn_db = mb_convert_encoding('//xxx/xx/xxx/xxx.mdb', 'SJIS'); $dbh = new PDO("odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=$fn_db;Uid=Admin"); $sql = 'SELECT [t].c FROM [t]'; $cursor = $dbh->query($sql); writeTableOneRowByPDOStatement($cursor); while ($col_row = $cursor ->fetch(PDO::FETCH_ASSOC,NULL,1)) { foreach ($col_row as $col_name => $val) { echo "$col_name => $val<br>\n"; } } ?> ------------------------------------------------------------------------ [2007-01-17 08:22:04] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40150 -- Edit this bug report at http://bugs.php.net/?id=40150&edit=1