freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Tim Uckun <tim AT diligence.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: Odd Problem..
- Date: Thu, 21 Dec 2000 11:27:20 -0700
I am trying to write a php wrapper for the mssql-server function using freetds. The following snippet causes PHP to return an empty document.
mssql_data_seek ($this->_queryID, $this->_currentRow);
$row = mssql_fetch_row($this->_queryID);
print count($row); // prints 122
foreach($row as $value){
print $value; // This is the offending line
}
If I comment out the print line it works (at least it returns a valid page) . I have also tried with fetch_array with the same results.
phpinfo says..
PHP Version 4.0.3pl1
./configure' '--with-apxs=/usr/sbin/apxs' '--with-pgsql' '--enable-track-vars' '--with-xml' '--with-sybase=/usr/local/freetds'
the freetds is the latest stable version (not a CVS snapshot).
:wq
Tim Uckun
Due Diligence Inc. http://www.diligence.com/ Americas Background Investigation Expert.
If your company isn't doing background checks, maybe you haven't considered the risks of a bad hire.
- Odd Problem.., Tim Uckun, 12/21/2000
Archive powered by MHonArc 2.6.24.