$connection = mysql_connect("localhost","xcite","101086");
mysql_select_db("xcite", $connection);
$id = $_GET['id'];
$query = mysql_query("select * from nyheder where id = $id");
while($row = mysql_fetch_array($query)) {
Nu får jeg så en fejl i linje 5 som siger:
Warning: Supplied argument is not a valid MySQL result resource in c:\\apache\\htdocs\\arkiv-vis.php on line 5
Linje 5 er: while($row = mysql_fetch_array($query)) {