Welcome Guest, Not a member yet? Register   Sign In
insert_id not working
#16

[eluser]Fred Riley[/eluser]
[quote author="CroNiX" date="1359133195"]My guess is it has something to do with ion auth when creating a new user. It might be doing an additional query somewhere before it returns, so insert_id() wouldn't be what you are expecting. I haven't used it so not sure how it works. When a new user is created in ion auth, does it return anything like an array? It might have the users new id.[/quote]

It does, yes, and now that you mention it, it's obvious that I should be getting the new user id array element rather than using insert_id() - D'OH!! :red: My only excuse is that it was past 11pm when I posted my query and I was ready for the land of nod Sad

Fred


Messages In This Thread
insert_id not working - by El Forum - 01-24-2013, 03:45 PM
insert_id not working - by El Forum - 01-24-2013, 04:44 PM
insert_id not working - by El Forum - 01-24-2013, 05:07 PM
insert_id not working - by El Forum - 01-24-2013, 08:39 PM
insert_id not working - by El Forum - 01-24-2013, 10:53 PM
insert_id not working - by El Forum - 01-24-2013, 11:00 PM
insert_id not working - by El Forum - 01-24-2013, 11:03 PM
insert_id not working - by El Forum - 01-24-2013, 11:44 PM
insert_id not working - by El Forum - 01-25-2013, 01:24 AM
insert_id not working - by El Forum - 01-25-2013, 02:33 AM
insert_id not working - by El Forum - 01-25-2013, 02:44 AM
insert_id not working - by El Forum - 01-25-2013, 03:14 AM
insert_id not working - by El Forum - 01-25-2013, 09:59 AM
insert_id not working - by El Forum - 01-25-2013, 11:35 PM
insert_id not working - by El Forum - 01-28-2013, 03:03 PM
insert_id not working - by El Forum - 01-28-2013, 03:08 PM
insert_id not working - by El Forum - 01-28-2013, 06:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB