DaveC426913
Programmer
Is it possible to SELECT LAST_INSERT_ID() directly in SQL, so I can tell if it's my PHP code failing or otherwise?
database: emu
table: events
primary key auto-incr: event_code
How do I tell it what table to look in?
This does not work:
SELECT LAST_INSERT_ID(events.event_code)
(It says "unknown table events")
database: emu
table: events
primary key auto-incr: event_code
How do I tell it what table to look in?
This does not work:
SELECT LAST_INSERT_ID(events.event_code)
(It says "unknown table events")