This Post Has Been Viewed 733 Times Since Fri Feb 29, 2008 12:01 pm Posted By tory with 1 replies
POST# 556
Posted On: Fri Feb 29, 2008 12:01 pm
i want to know how to find last row and last column in Mysql? i have this script that i created but i want to get this information for the script to work the way i want it to. help please
Tue May 01, 2007 11:27 am
1
hostman
Reply #1169
you can run this query on your php: (asuming you are getting the last userid from the users table)
$qry = "SELECT * FROM users ORDER BY userid DESC LIMIT 1";