Welcome Guest, Not a member yet? Register   Sign In
Database query order
#1

Hello,

I have the following code:
Code:
<?php echo $this->template->shortcode('pages', array('template' => 'default', 'id' => '45', 'limit' => '3')) ?>
Which showing 3 of publications from my pages table. But I need to show the newest 3 publications so can I order them by date and how can I do this in the code above?

And one more this, what exactly meansĀ $this->template->shortcode

Cheers!
Reply


Messages In This Thread
Database query order - by chrisco - 10-20-2019, 05:27 AM
RE: Database query order - by jreklund - 10-20-2019, 06:21 AM
RE: Database query order - by php_rocs - 10-20-2019, 06:43 AM
RE: Database query order - by chrisco - 10-20-2019, 06:56 AM
RE: Database query order - by php_rocs - 10-20-2019, 09:53 AM
RE: Database query order - by jreklund - 10-20-2019, 10:15 AM
RE: Database query order - by chrisco - 10-20-2019, 12:41 PM
RE: Database query order - by jreklund - 10-21-2019, 10:47 AM
RE: Database query order - by chrisco - 10-22-2019, 01:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB