Easy=beginner.....
I would like to write out the number of lines in a table, and use this code below, however I get no number. (I have also tried with only "antal" instead of "$antal" in the query
Happy for help.
<?
$Link = mysql_connect("localhost", "xxxxx", "xxxx");
mysql_select_db("xxxxxx", $Link);
$Query = "SELECT COUNT(*) as $antal FROM statistik" or die (mysql_error());
mysql_db_query ("xxxxxx", $Query, $Link) or die (mysql_error());
?>
<BR><BR><BR><BR><BR>
Visits: <?echo $antal?>