[quote author=onlyican link=topic=120176.msg492733#msg492733 date=1167332297] You need to connect to the database first Putting an @ there, meens, Dont Show Error, so its not working $db = mysql_connect("localhost","username","password"); mysql_select_db("DB_Name", $db); Change the information to be correct with you. [/quote] Sorry forgot to say I have done that. I also get it when using mysql_fetch_array and mysql_num_rows. It those cases it comes up telling me that they are not valid MySQL resources or something. Thanks.