Hi,
warum bekomme ich bei unten angeführetem script immer den wer "0" ausgegeben?
Weil du ueberhaupt keine Datenbankabfrage machst ... vielleicht?
$sql = 'INSERT INTO personen (vorn, nachname, tel)
VALUES ('hansi1', 'hinterseer', '1234') ';echo mysql_insert_id($conn);
Da steht ein String, mehr nicht.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“