require '../members/check.php'; ?> require 'find_week.php'; ?>
Tiger Roar - Fantasy Baseball |
include 'mysql_connect.php'; $link = mysql_connect ($db_hostname, $db_username, $db_password) or die ("Unable to connect to database."); if (isset($_GET['start'])) { $start = $_GET['start']; } else { $start = 0; } $display = 1000; $next = $start + $display; $query = "SELECT * FROM $week ORDER BY time asc limit $start,$display"; $result = mysql_db_query ($db_name, $query, $link); $number_of_members = mysql_numrows($result); $active_query = "SELECT * FROM $week"; $active_result = mysql_db_query ($db_name, $active_query, $link); $active_members = mysql_numrows($active_result); print "
\n"; print "
Member | \n"; print "Player 1 | \n"; print "Player 2 | \n"; print "Player 3 | \n"; print "Player 4 | \n"; print "
$Row[login] | \n"; print "$Row[player1] | \n"; print "$Row[player2] | \n"; print "$Row[player3] | \n"; print "$Row[player4] | \n"; } print "