|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-24 14:26 UTC] andy@php.net
[2001-07-24 16:45 UTC] glenn at websiteresults dot com
[2001-07-24 17:18 UTC] andy@php.net
[2001-07-24 18:37 UTC] glenn at websiteresults dot com
[2001-07-24 19:11 UTC] fmk@php.net
[2002-01-14 20:29 UTC] misha at tmolp dot com
[2002-06-02 14:11 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 03:00:01 2025 UTC |
<? 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