= '" . $oneWeekAgo . "' AND workout_date <= '" . $yesterday . "'"; // echo $query . '
'; $result = mysql_query($query); $row = mysql_fetch_assoc($result); $workoutsLoggedLastWeek = $row["total"]; ?>

Challenge Stats

Users with at least one workout logged:
Total workouts logged:
Workouts logged in previous 7 days:

Challenge Admin

'; echo ''; echo ''; echo ''; echo ''; echo ''; echo '' . "\n"; } ?>
Challenge NameStartsEndsCreated By 
' . $row["challenge_name"] . '' . $row["start_date"] . '' . $row["end_date"] . '' . $row["created_by"] . 'Delete