I’m basically trying to make a “goal” bar. The goal is determined by getting the last entry I made in a MySQL table. I want to get the ID of the last entry therefore.
How do I get the last entry in the table and then get the id from that last entry?
(Using PHP)
To get the greatest id:
Then to get the row:
Or, you could do it all in one query: