sundance1980
MIS
Hello everyone. Just a quick question. I have an index page (index.php) that shows 15 recent enteries using a query like this:
$query="SELECT id, title, DATE_FORMAT(date,'%M %D, %Y') AS date FROM article ORDER BY ID DESC LIMIT 15";
I would also like to have a link "View All" that would contain the query:
$query="SELECT * FROM article ORDER BY ID DESC";
I am not really sure on how to incorporate this link without creating a new page like viewall.php.
Thanks for any help.
$query="SELECT id, title, DATE_FORMAT(date,'%M %D, %Y') AS date FROM article ORDER BY ID DESC LIMIT 15";
I would also like to have a link "View All" that would contain the query:
$query="SELECT * FROM article ORDER BY ID DESC";
I am not really sure on how to incorporate this link without creating a new page like viewall.php.
Thanks for any help.