Multiple Column Sorting on Laravel 4
Multiple Column Sorting on Laravel 4. In PHP 4 above, we can use direct MySQL queries to sort based on two columns, But we can’t use the direct MySQL Query here. The following query explains you more, $kv_query = "SELECT * FROM kvcodes_table ORDER BY Name DESC, id ASC"; $kv_result = mysql_query($kv_query); But the above code does not help you to use in laravel, Here ...