#18622 [Opn->Fbk]: MSSQL Fetch_Array and fetch_Object not working propely

From: Date: Mon, 12 Aug 2002 00:23:33 +0000
Subject: #18622 [Opn->Fbk]: MSSQL Fetch_Array and fetch_Object not working propely
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16519@lists.php.net to get a copy of this message
ID: 18622 Updated by: kalowsky@php.net Reported By: ferreira@unicid.br -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Linux 2.4 / Win2K PHP Version: 4.2.2 New Comment: 4.2.2 didn't have any changes done to the MSSQL system at all. It was really a security patch for HTTP POSTs only. If it worked under 4.2.1 it should work just fine under 4.2.2, unless the POST is somehow not. Can you post a simple sample script to show/reproduce this behavior? Previous Comments: ------------------------------------------------------------------------ [2002-08-11 20:00:35] dsit@cox.net At first, I was beginning to question the php script, but after seeing this, I realized that the script I have been using for 7 months may not be the issue. Our server was upgraded from 4.2.1 to 4.2.2 and has caused intermittent problems since. I loaded 4.2.2 on my dev server and was able to reproduce the outcome. I then removed 4.2.2 from the dev server and was unable to reporduce the error. ------------------------------------------------------------------------ [2002-07-29 10:17:01] ferreira@unicid.br MSSQL Fetch_Array and fetch_Object not working propely Sometimes works , sometimes not mssqy_fetch_array($tb) $tb["fieldname"]; -> works sometimes $tb[0]; -> works always mssqy_fetch_object($tb) $tb->fieldname; -> works sometimes both worked fine with php 4.21 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18622&edit=1

« previous php.bugs (#16519) next »