I want to find the second value in an array.....
I have a mysql table containing DateLogs
I know what the datelog is for this week, but I want to find out what the previous datelog is
$query = "SELECT DateLogId FROM tblDateLog WHERE CRef = $CRef ORDER BY EndDate DESC LIMIT 2";
gives me the most recent datelog, but I want to know what the second datelog in this array is........
how do I do this?