Ähm.. ne?
Warum liegt das am Umbruch?
Warum liegt das am Umbruch?
$sql = "UPDATE
benutzerdaten
SET
Nachname = '".$_POST["lastname"]."',
Vorname = '".$_POST["firstname"]."',
email = '".$_POST["email"]."',
gender = '".$_POST["gender"]."',
birthday = '".$_POST["birthday"]."'
WHERE
Id = '".$_SESSION[Id]."'";
$result = mysql_query($sql) OR die(mysql_error());
$_SESSION["user_id"] = $data["Id"];
$_SESSION["user_nickname"] = $data["Nickname"];
$_SESSION["user_nachname"] = $data["Nachname"];
$_SESSION["user_vorname"] = $data["Vorname"];
$_SESSION["user_email"] = $data["email"];
$_SESSION["user_gender"] = $data["gender"];
$_SESSION["user_birthday"] = $data["birthday"];
$id = $_SESSION["Id"];
$sql = "UPDATE
benutzerdaten
SET
Nachname = '".$_POST["lastname"]."',
Vorname = '".$_POST["firstname"]."',
email = '".$_POST["email"]."',
gender = '".$_POST["gender"]."',
birthday = '".$_POST["birthday"]."'
WHERE
Id = '".$id."'";
$result = mysql_query($sql) OR die(mysql_error());
UPDATE benutzerdaten SET Nachname = 'test', Vorname = 'Fabian',
email = 'f.golle@googlemail.com', gender = 'männlich', birthday =
'15011992' WHERE Id = ''
Kommentar