Only Show Lasat Record
Posted: Wed Aug 13, 2008 12:04 pm
I have this bit of code:
$query = "SELECT * FROM shows ";
but I want it to just grab the last record created in that table and if no record is present then to type a mesage saying "No shows available for results" or something like that.
$query = "SELECT * FROM shows ";
but I want it to just grab the last record created in that table and if no record is present then to type a mesage saying "No shows available for results" or something like that.