Okay this server is set up on my partner's comp. It was just setup with Easy PHP and I'm using remote network to work on his comp. Everything is supposedly setup yet none of my sql commands like mysql_query or mysql_num_rows are working. Could this be an issue with the installation of something? For example:
$result = mysql_query("select id, name from categories") or die("No result<br>".mysql_error());
if (mysql_num_rows($result) == 0) { die("No answer"); }
while ($row = mysql_fetch_array($result))
{
echo "$row[name]";
}
Nothing is echoed as if the number of rows is zero yet neither dies happen. I also have it set so that if there is no connection made or there is no db connection it will die, but nothing happens there either.