• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

PHP Query

In PHP how do you grab the last (Or highest) ID number that is auto increment?
0
rgranlund
Asked:
rgranlund
  • 2
1 Solution
 
Ray PaseurCommented:
Do you mean MySQL?

If so, it's a query clause... ORDER BY id DESC LIMIT 1
0
 
rgranlundAuthor Commented:
Ahh haa!  Thanks.
0
 
Ray PaseurCommented:
'Welcome!

Thanks for the points and thanks for using E-E, ~Ray
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now