<form action="feedback.php" method="post">
<textarea name="name" rows="1" cols="105">
<?php
$db_dbname = 'zielvereinbarung';
$db_user = 'root';
$db_pw = '';
$db_host = 'localhost';
$tabellenname = 'daten';
$id =Trim($_POST['id']);
$name = $_POST['name'];
$C1 = $_POST['C1'];
$C2 = $_POST['C2'];
$C3 = $_POST['C3'];
$C4 = $_POST['C4'];
$C5 = $_POST['C5'];
$C6 = $_POST['C6'];
$C7 = $_POST['C7'];
$C8 = $_POST['C8'];
$C9 = $_POST['C9'];
$C10 = $_POST['C10'];
$C11 = $_POST['C11'];
$datum = $_POST['datum'];
mysql_connect($db_host, $db_user, $db_pw);
mysql_select_db($db_dbname);
$sql = ("select * FROM daten WHERE id ='" . $_GET['id'] . "';");
$q = mysql_query($sql);
$data = mysql_fetch_array($q);
echo $data['name'];
$sql = "update daten SET id= '".$id."',
C1= '".$C1."',
C2= '".$C2."',
C3= '".$C3."',
C4= '".$C4."',
C5= '".$C5."',
C6= '".$C6."',
C7= '".$C7."',
C8= '".$C8."',
C9= '".$C9."',
C10= '".$C10."',
C11= '".$C11."',
name= '".$name."',
datum= '".$datum."',
WHERE `id` = '$id' LIMIT 1";
?>
</textarea >
<br>
<textarea name="C1" rows="1" cols="105">
<?php
echo $data['C1'];
?>
</textarea>
<br>
<textarea name="C2" rows="1" cols="105">
<?php
echo $data['C2'];
?>
</textarea>
<br>
<textarea name="C3" rows="1" cols="105">
<?php
echo $data['C3'];
?>
</textarea>
<br>
<textarea name="C4" rows="1" cols="105">
<?php
echo $data['C4'];
?>
</textarea>
<br>
<textarea name="C5" rows="1" cols="105">
<?php
echo $data['C5'];
?>
</textarea>
<br>
<textarea name="C6" rows="1" cols="105">
<?php
echo $data['C6'];
?>
</textarea>
<br>
<textarea name="C7" rows="1" cols="105">
<?php
echo $data['C7'];
?>
</textarea>
<br>
<textarea name="C8" rows="1" cols="105">
<?php
echo $data['C8'];
?>
</textarea>
<br>
<textarea name="C9" rows="1" cols="105">
<?php
echo $data['C9'];
?>
</textarea>
<br>
<textarea name="C10" rows="1" cols="105">
<?php
echo $data['C10'];
?>
</textarea>
<br>
<textarea name="C11" rows="1" cols="105">
<?php
echo $data['C11'];
?>
</textarea>
<br>
<textarea name="datum" rows="1" cols="105">
<?php
echo $data['datum'];
?>
</textarea>
<br>
<input type="submit">
</form>