KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to select the last record from a table in MySQL using PHP. I believe I have an SQL error. Here is my SQL code: SELECT TOP 1 id FROM `table` ORDER BY id DESC If this is valid and I actually have a PHP error, tell me.
Tags (comma-separated)
Save Edits
Cancel