Moin!
Und die entscheidenste Frage, dich mich vielleicht weiterbringen könnte ist:
insert into muell (abc)values('xyxy');
update muell set abc=last_insert_id();
^^^^^^^ Warum kennt Mysql diesen Wert hier,..insert into muell (abc)values('xyxy');
update muell set abc=last_insert_id() where id=last_insert_id();
^^^^^^^^ ... hier aber nicht?
Kann ich dir nicht sagen, weil's bei mir funktioniert.
- Sven Rautenberg
--
"Love your nation - respect the others."
"Love your nation - respect the others."