10378 Posts in 2194 Topics by 1710 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 993 Views |
-
Get last inserted id

3 July 2010 at 11:43pm Last edited: 4 July 2010 12:37am
Hey, is there a db function that gives me the last inserted id or better a query function that returns the new id directly?
I got a query excuted via DB::query('INSERT INTO...'); and need the id of the entry.
The return param doesn't give it. I know that I can get it with a new select query but, it isn't the best way I think.
Thx
| 993 Views | ||
|
Page:
1
|
Go to Top |

