Search found 3 matches

by real246
Thu Apr 10, 2008 7:53 am
Forum: PHP - Code
Topic: Getting Primary ID of row just inserted into MySQL
Replies: 5
Views: 834

Re: Getting Primary ID of row just inserted into MySQL

can i be reasonably guaranteed that if I put the INSERT record a few lines before I call the most recent mysql insert that it will be the one that I just inserted? Reason I ask is because the database is being updated simultaneously by other users constantly. Wondering if this might possibly interfe...
by real246
Thu Apr 10, 2008 6:34 am
Forum: PHP - Code
Topic: Getting Primary ID of row just inserted into MySQL
Replies: 5
Views: 834

Getting Primary ID of row just inserted into MySQL

How do I retrieve the Primary ID of a row that I just inserted into a MySQL v5 table when the primary ID is set to auto increment and the value is set to INT of the primary ID?

Any help would be greatly appreciated.

Thank you.
by real246
Mon Mar 31, 2008 2:56 am
Forum: PHP - Code
Topic: select distinct like problems
Replies: 1
Views: 101

select distinct like problems

~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: :arrow: Posting Code in the Forums to learn how to do it too. this is my code: it's a search suggest type feature. I'm using the...