short mysql question
#1

hello.
Is there any way to retrieve the last row in my table?
Reply
#2

Sure.

Quote:

SELECT * FROM yourtable ORDER BY id DESC LIMIT 1

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)