It's been a while since I've been doing anything with sql, and unfortunately I've deleted most of my old php files. I found a few, though, and tried to implement them. But something goes wrong, and I can't see what. Anyone else see it?
PHP:
<?php
$periode="10";
$konto="20";
$belop="40";
mysql_connect("sql02.fastname.no","user","password");
@mysql_select_db("flaatartist") or die("error connecting to database");
mysql_query("INSERT INTO 2007 VALUES ('$periode','$konto','$belop')");
mysql_close();
?>