WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[1] AND aces.Club = clubs.clubID' at line 8]
SELECT UNIX_TIMESTAMP(aces.aceDate) AS faceDate, aces.GolferFirst, aces.GolferLast, aces.HoleNo, aces.Par, aces.Yardage, aces.GolferAge, aces.GolferCity, aces.GolferState, aces.GolferCountry, aces.FirstAce, aces.GolferMiddle, aces.CourseName, aces.CourseCountry, aces.CourseCity, clubs.club, aces.Comments, aces.HIOComments, UNIX_TIMESTAMP(aces.gotw) AS gotw, aces.CourseState, aces.photo, aces.DateSubmitted, UNIX_TIMESTAMP(aces.bestQuote) AS bestQuote FROM aces, clubs WHERE aces.golferID = $matches[1] AND aces.Club = clubs.clubID

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[1] ORDER BY commentDateTime DESC' at line 3]
SELECT comment, commentatorName, commentatorEmail, UNIX_TIMESTAMP(commentDateTime) AS fdate FROM aceComments WHERE golferID = $matches[1] ORDER BY commentDateTime DESC