Easy mistake to make.
First of all, you would know what was wrong if you display errors:
PHP Code:
error_reporting(E_ALL);
ini_set('display_errors', 2);
As for your problem, I'll show you what functions you're using and maybe you'll notice yourself:
PHP Code:
mssql_connect("****","****","****");
mssql_select_db("sql0605353",$Conn);
mssql_query("SELECT * FROM team");
mssql_num_rows($query)
mysql_fetch_array($query);
mysql_close($con);
Notice the difference with those last two (hint: MySQL != MSSQL).
Oh, and by the way don't bother using MySQL_Close or MSSQL_Close. The connection's automatically closed at the end of the execution anyway. It only needs to be closed if you have ALOT of processing going on after your last MySQL/MSSQL operation.
Bookmarks