Last Value of Column

I am building a commenting system where each comment has an original ID. How would I go about getting the highest value in the ID column so I can add 1 to it to get the ID for the new comment?

Just figured out what auto increment is, don’t need this any more.

Sponsor our Newsletter | Privacy Policy | Terms of Service