RE: [PHP] mssql_num_rows problem (Solved)

2003-06-27 Thread Gary Ogilvie
ilvie; PHP General Subject: RE: [PHP] mssql_num_rows problem [snip] $numRows = mssql_num_rows($result); print ("$numRows"); [/snip] A. print($query); //to make sure it is correct, double check 2. print($numRows); // no quotes, again to test HTH -- PHP General Mailing List (htt

RE: [PHP] mssql_num_rows problem

2003-06-27 Thread Jay Blanchard
[snip] $numRows = mssql_num_rows($result); print ("$numRows"); [/snip] A. print($query); //to make sure it is correct, double check 2. print($numRows); // no quotes, again to test HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mssql_num_rows problem

2003-06-27 Thread Gary Ogilvie
Hello everyone, I am trying to grab some data from a table in a database. Here is the code I am using: $myServer = "192.92.0.248"; $myUsername = "Admin"; $myPassword = "bluefish"; $myDB = "COMPANY"; $myUser = $_GET['user']; $myPass = $_GET['pass']; #print ("$myUser$myPass"); $s = mssql_co