From:             [EMAIL PROTECTED]
Operating system: linux 7.1
PHP version:      4.0.6
PHP Bug Type:     MSSQL related
Bug description:  Call to undefined function: mssql_next_result() 

<?
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 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]

Reply via email to