Re: Retrive last 10 records

Posted By: Priyank at 12:13:07 on Monday the 25th of June 2007

$sql = 'SELECT *' . ' FROM `tblname`' . ' ORDER BY id DESC' . ' LIMIT 0 , 10';


Reply to this comment

Name
Email
URL (optional)
Title of Comment
Comment
HTML Allowed:
a,code,strong,em
I would like to be e-mailed any response to my comment.