ID: 35386
Comment by: no at reply dot cz
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:
Hack didn't work without WHERE at all, with where only first column.
Absolutely useless extension, going to try ibase_*()
Previous Comments:
------------------------------------------------------------------------
[2007-01-22 20:00:45] tomp at tomaspenc dot com
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.
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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