PHP 4.0 Bug #5842: Lost result (not printing all chars from table)
| From: | gk at svt dot unity dot net | Date: | Fri, 28 Jul 2000 18:03:23 +0000 |
| Subject: | PHP 4.0 Bug #5842: Lost result (not printing all chars from table) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26740@lists.php.net to get a copy of this message | ||
From: gk@svt.unity.net
Operating system: Linux RH 6.2
PHP version: 4.0.1pl2
PHP Bug Type: Sybase (dblib) related
Bug description: Lost result (not printing all chars from table)
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.