Ich glaube, Thomas hat mich nicht richtig verstanden... Weil so funktioniert es nicht (außer ich mach was falsch)
Nochmal zum besseren Verständnis die gesamte Datei:
------------------------------------------------------------------------------------------------------------------------------------------
<?php
include ("../../../../../daten.php");
include ("../../username.php");
$filename = '../../steckbriefdaten.php';
$birthday = $_POST["birthday"];
$wohnort = $_POST["wohnort"];
$name = $_POST["name"];
$hate = $_POST["hate"];
$love = $_POST["love"];
$sternzeichen = $_POST["sternzeichen"];
$hair = $_POST["hair"];
$eyes = $_POST["eyes"];
$gross = $_POST["gross"];
$gewicht = $_POST["gewicht"];
$haustiere = $_POST["haustiere"];
$lieblingsfach = $_POST["lieblingsfach"];
$homepage = $_POST["homepage"];
$linkname1 = $_POST["linkname1"];
$linkurl1 = $_POST["linkurl1"];
$linkname2 = $_POST["linkname2"];
$linkurl2 = $_POST["linkurl2"];
$linkname3 = $_POST["linkname3"];
$linkurl3 = $_POST["linkurl3"];
$linkname4 = $_POST["linkname4"];
$linkurl4 = $_POST["linkurl4"];
$eigenbeschreibung = $_POST["eigenbeschreibung"];
$file = file($filename);
$fp = fopen($filename, "w");
fwrite($fp, "
<center><h2>Steckbrief von $user</h2><br><br><img src='../../data/memberpics/$user/passbild.jpg'><br><p></center>
<table border='0' cellpadding='0' cellspacing='5' style='border-collapse: collapse' width='30%' id='userdaten'>
<tr>
<td width='51%'>Name:</td>
<td width='49%'>$name</td>
</tr>
<tr>
<td width='51%'>Benutzerstatus:</td>
<td width='49%'>$Rang</td>
</tr>
<tr>
<td width='51%'>Wohnort:</td>
<td width='49%'>$wohnort</td>
</tr>
<tr>
<td width='51%'>Geburtstag:</td>
<td width='49%'>$birthday</td>
</tr>
<tr>
<td width='51%'>Sternzeichen:</td>
<td width='49%'>$sternzeichen</td>
</tr>
<tr>
<td width='51%'>Mag:</td>
<td width='49%'>$love</td>
</tr>
<tr>
<td width='51%'>Hasst:</td>
<td width='49%'>$hate</td>
</tr>
<tr>
<td width='51%'>Haarfarbe:</td>
<td width='49%'>$hair</td>
</tr>
<tr>
<td width='51%'>Augenfarbe:</td>
<td width='49%'>$eyes</td>
</tr>
<tr>
<td width='51%'>Größe:</td>
<td width='49%'>$gross</td>
</tr>
<tr>
<td width='51%'>Gewicht</td>
<td width='49%'>$gewicht</td>
</tr>
<tr>
<td width='51%'>Haustiere:</td>
<td width='49%'>$haustiere</td>
</tr>
<tr>
<td width='51%'>Lieblingsfach</td>
<td width='49%'>$lieblingsfach</td>
</tr>
<tr>
<td width='51%'>Homepage</td>
<td width='49%'><a href='http://$homepage'>Homepage besuchen</a></td>
</tr>
</table></p><br><br>
<p align=right><p><b>Meine Lieblingslinks:</b></p><br><br><br>
<table border='0' cellpadding='0' cellspacing='5' style='border-collapse: collapse' width='30%' id='lieblingslinks'>
<tr>
<td width='51%'>$linkname1</td>
<td width='49%'><a href='$linkurl1'>Seite besuchen</a></td>
</tr>
<tr>
<td width='51%'>$linkname2</td>
<td width='49%'><a href='$linkurl2'>Seite besuchen</a></td>
</tr>
<tr>
<td width='51%'>$linkname3</td>
<td width='49%'><a href='$linkurl3'>Seite besuchen</a></td>
</tr>
<tr>
<td width='51%'>$linkname4</td>
<td width='49%'><a href='$linkurl4'>Seite besuchen</a></td>
</tr>
</table></p><br><br><!-----------Arrayangabe-----------------
");
fwrite($fp, $file);
fclose($fp);
?>
<html>
<head>
<title>Änderungen erfolgreich gespeichert !</title>
<link rel="stylesheet" type="text/css" href="../../../../../data/style.css">
</head>
<?PHP echo "<body bgcolor=$hintergrundfarbe>";
?>
<center><h3>Deine Änderungen wurden gespeichert</h3><br><br>
<h2>Du kannst dir deine aktualisierte Seite nun ansehen. Falls du sie vorher schon geöffnet hattest, beachte bitte, dass du sie ggf. neu laden musst, um den neuen Inhalt anzeigen zu können.</h2><br>
<a href=config.php>Zurück zum Administrationshauptmenü</a> | <a href=passfotoupload>Foto ändern/neu hochladen</a></center></font>
</body>
</html>
<script language="javascript">
<?php echo "window.defaultStatus='$windowstatus'";
?>
</script>
------------------------------------------------------------------------------------------------------------------------------------------
Und nun will ich aber im Eingabeformular, dass die bereits eingetragenen Daten als "value" im Eingabefeld stehen. Dazu brauch ich in der Datei nochmal die VAriablenbezeichnungen.