Ich würde es einmal so probieren:
PHP-Code:
if ($do == "edit_profile")
{
if (isset($_GET['Type']) and isset($_POST['Text']))
{
mysql_query("UPDATE ".TABLE_PROFILES." SET Profile_Text = '".addslashes($_POST['Text'])."' WHERE Profile_Type = '".intval($_GET['Type'])."' AND User_ID = '".intval($_SESSION['UID'])."' LIMIT 1") or die("MySQL Fehler: ".mysql_errno()." ".mysql_error());
$Body = "Das Profil wurde erfolgreich aktualisiert.
Klicken Sie [url='']hier[/url] um das geänderte Profil anzusehen.
[url='']Zurück zur Profilverwaltung[/url]
";
}
}