First of all thanks for the help uey I still havn't solved the problem quite...
I have so far:
$Table= "forum1";
// Connecting, selecting database
$Link = mysql_connect ($Host, $User, $Password) or die("Could not connect to $Host!");
mysql_select_db($D😎 or die("Could not select database $DB!");
$Query_1 = "SELECT COUNT(id) FROM $Table";
$Get_it = mysql_query($Query_1) or die("Query failed!");
$Antal = mysql_fetch_*($Get_it);
print ("$Antal<br>");
if i query:
SELECT COUNT(id) FROM 'forum1'
in phpmyadmin it returns the result 5 as it should yet if i write the above in a .php it writes 0?????????
What did I misunderstand?