Bug #5842 Updated: Lost result (not printing all chars from table)
| From: | gk at svt dot unity dot net | Date: | Mon, 14 May 2001 19:36:22 +0000 |
| Subject: | Bug #5842 Updated: Lost result (not printing all chars from table) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55232@lists.php.net to get a copy of this message | ||
ID: 5842
User Update by: gk@svt.unity.net
Old-Status: Feedback
Status: Closed
Bug Type: Sybase (dblib) related
Operating system: Linux RH 6.2
PHP Version: 4.0.1pl2
Description: Lost result (not printing all chars from table)
This bug was closed some months ago
Previous Comments:
---------------------------------------------------------------------------
[2001-05-14 12:23:21] joey@php.net
I could not verify this bug, but I don't have the Oracle stuff here.
As this is a fairly old bug, could you please test 4.0.5 or a snapshot and see if you still have the
same problem?
---------------------------------------------------------------------------
[2000-07-28 20:03:22] gk@svt.unity.net
sample script:
<html>
<head>
<title>Bug ?</title>
</head>
<table border=0>
<tr><td>
any text over 15240 chars. Very important!
</td></tr>
</table>
<?php
$conn = sybase_connect("SYBASE","user","user");
$baza = sybase_select_db(database,1);
$us_inf=sybase_query("SELECT id_user from users",1);
$nrow1=sybase_num_rows($us_inf);
$row=0;
while ($row < $nrow1){
// all data print properly, if comment next line
$data_u=sybase_fetch_array($us_inf);
// all data print properly, if comment next line
$id_user=$data_u[0];
$deb=sybase_query("SELECT id_user from users where id_user=1",1);
// all data print properly, if comment next line
$nrow2=sybase_num_rows($deb);
$row++;
}
?>
configure line:
"--with-apxs=/usr/local/apache/bin/apxs"
"--with-oci8=/home/oracle/u01"
"--with-sybase=/home/opt/sybase-11.9.2"
"--enable-track-vars"
"--enable-sigchild"
php.ini:
any php.ini file
decription:
Any data, printed in table lost, when I try to receive any
data from Sybase.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5842