ID: 12348
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: MSSQL related
Operating System: linux 7.1
PHP Version: 4.0.6
New Comment:
could you post the exact error message, or put the script
on the internet so I can view it.
Previous Comments:
------------------------------------------------------------------------
[2001-07-24 14:24:14] [EMAIL PROTECTED]
<?
if (connect_db($ip, $db)) {
$q = "exec $sp @date='$date'";
$results = mssql_query($q);
$max = mssql_num_fields($results);
for ($f=0; $f < $max; $f++) {
$name = mssql_fetch_field($results, $f);
print $name->name ."<br>";
}
// this is the problem ??? the sp has 2 result sets
// i am trying to get to the second set.
mssql_next_result($results);
}
?>
// config line
./configure \
--with-mysql \
--with-mhash \
--with-sybase=/usr/local/freetds \
--with-apache=../apache_1.3.20 \
--enable-versioning \
--disable-debug \
--enable-debug=no \
--enable-sigchild \
--enable-calendar \
--enable-trans-sid \
--disable-xml
// other info
i am runnong freetds v.0.51 connecting to sql2000
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12348&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]