include ('../../sportspool-golf-login.php');
$url = $_SERVER['REQUEST_URI'];
$array = explode("/",$url);
$name = $array[3]; $name = str_replace(".php","",$name);
$array2 = explode("_",$name);
$firstname = $array2[0];
$lastname = $array2[1];
if (($firstname) && ($lastname)) {
$query = "SELECT * FROM status";
$query2a = mysql_query($query) or die("Select Failed!");
$query3b = mysql_fetch_array($query2a);
$currenttournament = $query3a['current_tournament'];
$currentwinnings = "tournament" . $currenttournament . "winnings";
$query = "SELECT * FROM current_standings where firstname = '$firstname' and lastname = '$lastname'";
$query2 = mysql_query($query) or die("Select Failed! Error #2");
$query3 = mysql_fetch_array($query2);
$display_name = $query3['display_name'];
$fullname = $query3['fullname'];
$active = $query3['active'];
$start_earnings = $query3['start_earnings'];
$website = $query3['website'];
$exempt_status = $query3['exempt_status'];
$height = $query3['height'];
$weight = $query3['weight'];
$birthdate = $query3['birthdate'];
$birthplace = $query3['birthplace'];
$special_interest = $query3['special_interest'];
$turned_pro = $query3['turned_pro'];
$joined_tour = $query3['joined_tour'];
$facts = $query3['facts'];
$yearlytotal = $query3['yearlytotal'];
$weeklywinnings = $query3["$currentwinnings"];
}
?>
include("../../includes/adHeader.php"); ?>
include ("../../includes/login_tabs.php"); ?>
include('../../includes/menu.php'); ?>
include('../../includes/adMenu.php'); ?>
PGA Player Profiles - PGA Tour Player Profiles - Player Profiles of the PGA Tour Players - PGA Golfer Profiles
if (($firstname) && ($lastname)) { ?>
$imagename= "images/" . $firstname . "_" . $lastname . ".jpg";
if (file_exists($imagename)) { echo " | "; } ?>
Player Information: |
echo $facts; ?>
|
Exempt Status: | echo $exempt_status; ?> |
Height: | echo $height; ?> |
Weight: | echo $weight; ?> |
Birth Date: | echo $birthdate; ?> |
Birth Place: | echo $birthplace; ?> |
Special Interests: | echo $special_interest; ?> |
Turned Pro: | echo $turned_pro; ?> |
Joined Tour: | echo $joined_tour; ?> |
if ($yearlytotal) { echo "2005 Earnings: | $" . number_format($yearlytotal) . ".00 |
"; } ?>
if ($weeklywinnings) { echo "Weekly Earnings: | $" . number_format($weeklywinnings) . ".00 |
"; } ?>
2004 Earnings: | echo "$" . number_format(floatval($start_earnings)) . ".00"; ?> |
Active Player: | echo $active; ?> |
Official Website: | echo $website; ?> |
Back to the PGA Players Profiles |
} else { ?>
PGA Golfer Profiles
$query = "SELECT * from current_standings ORDER by lastname ASC";
$query2 = mysql_query($query) or die("Unable to select info to display.");
$count = 0;
while ($query3 = mysql_fetch_array($query2)) {
$count = $count + 1;
$displayfirstname = $query3["firstname"];
$displaylastname = $query3["lastname"];
$displayfullname = $query3["fullname"];
$display_name = $query3['display_name'];
if ($count == 1) { echo ""; }
echo ""; if ($display_name) { echo $display_name; } else { echo $displaylastname . $displayfirstname; } echo " | ";
if ($count == 4) { echo "
"; $count = 0; }
}
?>
} ?>
How is your golf game? You want to become a PGA Golfer? These guys are the best around. Every year
golfing professionals from around the world battle it out for the privilege of playing on the PGA Tour in the grueling
PGA Tour Qualifying Tournament (Q School), conducted by the PGA Tour.
If a player is already on the PGA Tour, they must either have an existing Exemption or finish better
than 125th in the previous year or they lose their PGA Tour status. Without PGA Tour Status, they must fight for
one of the 30 golf spots available in the official PGA 'golf-a-thon' called Q-School.
include('../../includes/adBannerContent.php'); ?>
include('../../includes/menuGolf.php'); ?>
include('../../includes/menuBottom.php'); ?>
include('../../includes/footer.php'); ?>