That image is on another server. My Avatar is on my server while the other image isn't. Could it be a module doing that? and theirs another problem. PHP is installed as 5.2.1. I'm trying to call mssql_num_rows() for a feild that exists but Isn't returning my total accounts.
Here is part of my code.
DBString
[code]
<?
srvip=71.196.59.195
$mssql_user = "*********";
$mssql_pass = "*********";
$mssql_host = "**********\SQLEXPRESS";
$mssql_database = "RevGamers";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
mssql_select_db($mssql_database);
?>
Now for a code to show you that the 'Accounts' Table exists.
$query = mssql_query("SELECT * FROM Accounts WHERE UserID='$user'");
$num_rows = mssql_num_rows($query);
if ($num_rows == 0)
Now heres the Query I'm using.
$query = mssql_query("SELECT * FROM Accounts");
$num_rows = mssql_num_rows($query);
echo "<font style='color: #FFFFFF'>Total Accounts: ".$num_rows."<br></font>";
However Its not showing Up the Amount of total Accounts. it appears as " " without anything in the middle(Those are blank spaces) and their is Data inside the table. I even tried with my other database. and now people cannot register to my server. and I don't want to have to link The Server Account register on another site :S.
Total Accounts:
Total Items: 66684246
Total People Online: 0
Revolution Gamers Gunz is : Offline
[/code]
so I Don't know how to fix this without updating to the newest php but I'm afraid I might make an error.