ID: 35386 Comment by: tomp at tomaspenc dot com Reported By: slapaf at hotmail dot com Status: Suspended Bug Type: PDO related Operating System: winxp sp2 PHP Version: 5CVS-2006-12-02 (snap) Assigned To: jacques New Comment:
Crazy solution, but it works: $stmt = $db->prepare('SELECT * FROM table WHERE 2>?'); $stmt->execute(array(1)); while($radek = $stmt->fetch()) print_r($radek); All rows will be printed on the screen including the first. When you use "prepare statement" with one or more parameters, you get all rows. P.S: Srry for my bad english. Previous Comments: ------------------------------------------------------------------------ [2006-08-10 08:15:14] [EMAIL PROTECTED] I'll tinker with this. No promises though. ------------------------------------------------------------------------ [2006-07-07 10:06:19] mark at verndalesystems dot co dot uk We have the same problem on Linux running FB 2.0 with PHP 5.1.1 ------------------------------------------------------------------------ [2006-05-27 12:54:46] stefan at horochovec dot com dot br Hi, i´m using PHP 5.1.4, Windows XP SP2 and Firebird 1.x and have the same problem. ------------------------------------------------------------------------ [2006-05-04 13:06:06] krovomi at msn dot com Does someone got a solution to this problem ? Thanks ------------------------------------------------------------------------ [2006-03-27 22:32:47] [EMAIL PROTECTED] Looking for someone to maintain the firebird driver. ------------------------------------------------------------------------ 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/35386 -- Edit this bug report at http://bugs.php.net/?id=35386&edit=1