Fixed recentTasks() by adding additional component to bindParam and adding an intval() evaluation. The function is now operational