how to print 10 records from mysql using php
Posted: Wed Sep 23, 2009 10:06 am
Hi,
I have a mysql query like this
select * from org_app where app_beg <= '2009-09-23 00:00:00' order by app_beg desc limit 10
I have no idea, how do I print all the 10 values into a page? Here is what I am doing. I have a index.php page in which, I am including this file which has this database script.
Any help will be appreciated.
Thank you,
I have a mysql query like this
select * from org_app where app_beg <= '2009-09-23 00:00:00' order by app_beg desc limit 10
I have no idea, how do I print all the 10 values into a page? Here is what I am doing. I have a index.php page in which, I am including this file which has this database script.
Any help will be appreciated.
Thank you,