In my project i wanna use the last_insert_id() to be stored in a session variable and after that i wanna use that session variable i.e., the value of last_insert_id() in another page. How can i carry the last_insert_id() to some other page using session or storing it in a session variable ? Urgent pls... :) Thanks
depends what you want to do with this - if just to propogate - fine. But if you want to use it as an absolute last id in the DB table - perhaps not so good if you have multiple users with insert/delete access to said table.