From: ExsonQu <hex...@gm...> - 2013-10-11 08:00:09
|
*Dear all:* I've noticed that there is one function DB_Last_Insert_ID created in ConnectDB_mysqli.inc. I'm wondering: 1. Why there are 3 parameters set for this function and there is none used in it's code block? 2. Why we record the last_insert_id into the $_SESSION? Is there no efficiency lost and no chance to make mistake? Why not wrap the original mysqli_last_insert_id() directly? Any comments are highly appreciated! Thanks and best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Is-the-DB-Last-Insert-ID-function-right-tp4656803.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |