خرید بک لینک

Vote count: 0

I do not know how to sort the date. can you give me the simplest code to do that, I am doing foreach loop then it outputs the results then i want it to sort the posts via date(latest-oldest)

here is my code:

$users = DB::getInstance()->query("SELECT * FROM users");

    if($users->count()) {
        foreach($users->results() as $users) {

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 14 ارديبهشت 1395 ساعت: 11:09

صفحه بندی