Welcome Guest, Not a member yet? Register   Sign In
Database classes for SQL Server 2005 and SQL Server 2008 (using php_sqlsrv.dll from the Microsoft Data Programmability t
#31

[eluser]imorris[/eluser]
ccddarkness, please follow these steps to fix the problem:

in sqlsrv_result.php make your function "num_rows" look like below.

function num_rows()
{
$num_rows=0;
return !$num_rows = sqlsrv_num_rows($this->result_id) ? 0 : $num_rows;

}


Messages In This Thread
Database classes for SQL Server 2005 and SQL Server 2008 (using php_sqlsrv.dll from the Microsoft Data Programmability t - by El Forum - 02-03-2011, 11:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB