Re: Problem: mysql queries does no return result....
Try this for error catching instead.
$link = mysql_connect("localhost","root","");
if($err=mysql_error()) die("Could not connect to database. Server said: $err");
mysql_select_db("helpdesk2", $link);
if($err=mysql_error()) die("Could not select database. Server said: $err");
$Result = mysql_query("SELECT * FROM Administrator")
if($err=mysql_error()) die("Query failed. Server said: $err");
mysql_error() can give you more detail info about the error that is occuring.
Brian Moon
Phorum Dev Team
http://phorum.org/
-----------------------
dealnews.com - How to go broke saving money.
http://dealnews.com/