|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-03-02 11:05 UTC] joey at cvs dot php dot net
[2000-05-22 03:41 UTC] joey at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
This bug is making 4.0Beta 3 unusable with sybase for me. Please advice on a workaround!! I have a simple table like this: create table UserInfo ( uID numeric(10,0) not null, userName varchar(32) not null, passwd char(38) null , constraint PK_USERINFO primary key (uID) ) With the following php code, I get wrong passwd out 1 out of every 5 times or so. $q= sybase_query("select uID,userName,passwd from UserInfo where userName='$username'", $dblink); while($qarray = sybase_fetch_row($q)) { echo $qarray[2]; $pass = $qarray[2]; echo $pass; } ---- results: $qarray[2] is always correct; $pass is wrong 1/5 of the times. The behavior is similiar if I use sybase_fetch_array.