£besked = "der er opstået en fejl" $headers = "From: din@mail.her" mysql_connect("host","user","password") or die(mail("to","Emne",$besked, $headers);
<?php $dbhost = ""; // ADRESSEN TIL MYSQL $database = ""; // Database $dbuser = ""; // Bruger $dbpass = ""; // Kode mysql_connect($dbhost,$dbuser,$dbpass); mysql_select_db($database); ?>