Det gav ingenting med stort L men her er koden
<?php
$host="Localhost"; // Host name
$db_username="xxxxx"; // Mysql username
$db_password="xxxx"; // Mysql password
$db_name="LD"; // Database name
$tbl_name="members"; // Table name
// Connect to server and select database.
mysql_connect("$host", "$db_username", "$db_password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
// Get values from form
$id=$_POST['id'];
$medlemnr=$_POST['medlemnr'];
$name=$_POST['name'];
$lastname=$_POST['lastname'];
$addr=$_POST['addr'];
$zipcode=$_POST['zipcode'];
$city=$_POST['city'];
$remark=$_POST['remark'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$birthday=$_POST['birthday'];
$certifikat=$_POST['certifikat'];
$username=$_POST['username'];
$password=$_POST['password'];
// update data in mysql database
$sql="UPDATE $tbl_name SET medlemnr='$medlemnr', name='$name', lastname='$lastname', addr='$addr', zipcode='$zipcode', city='$city', remark='$remark', phone='$phone', email='$email', birthday='$birthday', certifikat='$certifikat', username='$username', password='$password' WHERE id='$id'";
$result=mysql_query($sql);
// if successfully updated.
header('Location:
http://club.langelands-dykkerklub.dk/?page=list_records');
?>