I'm trying to understand how to do a MySQL query. It needs to look at all records, then sort them by date and then only return in $results the first 15 (in order w/ most recent first)
Date field is 'date_version' and it's stored as date and is formatted in database as: yyyy-mm-dd
Simple results showing all - how do I modify it?
// get all entries from database table Mytable;
$results = DB::query("SELECT * FROM Mytable");