In message <[EMAIL PROTECTED]>, Brian E Boothe <[EMAIL PROTECTED]> writes >HI all ; > > > > I,m needing to display the last Five records in a table by Company name >starting at the End of the Table up; > > How do I do that in MySQL and php > > Right now I’m just using
As long as it's not a barking order - what was that about, the guy is not writing in his own language, that's all - You would need a simple AutoIncrement field adding if you don't already have one, then SELECT * FROM table ORDER BY newfield DESC LIMIT 5; -- Pete Clark Sunny Andalucia http://www.hotcosta.com/comm_1.htm The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php_mysql/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
