The syntax ist logical an clear to me, but it didnΒ΄t worked for me, sorry.
I do an insert in to the table first and later in the same script I want to get the last record from the same table.
I use the LIMIT Option (1,1) as u told me. I always gets the record BEFORE the last one. Always and ever.
Inserts into MySQL DBs are proceeded BEFORE select querys so it can not be, that the record isnΒ΄t present at the select querey time.
I also tried a sleep(10); command, to give MySQL time to insert the Data, no work ;-((
if i get rid of the LIMIT Option it works. He gives me the correct last Row. But the Table is huge and i donΒ΄t want My SQL to parse 5000 records....
Any suggestions?
Greedings Boris