Hi,
bitte zitiere vernuenftig, wenn du auf ein Posting antwortest.
$vorname = "SELECT Vorname FROM tblRegistry
WHERE Username = '$username'
AND Passwort = '$passwort'";
$erfolg = mysql_querry($vorname);
$inhalt = ....($erfolg) <--was für ein befehl muss ich hier benutzen damit ich auch nur den Inhalt von Vorname erhalte???
Eine der mysql_fetch-Funktionen.
Fuer Beispiele schau im PHP-Manual nach.
Als naechstes informiere dich ueber die (Un-)Sicherheit deiner Abfrage, Stichwort SQL Injection, und was man bei MySQL dagegen tut.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“