\r\n"; $playername[0]=""; $playerindex=0; $uniformarray[1][0]="Fernando Abad"; $uniformarray[1][1]="58"; $uniformarray[2][0]="Reggie Abercrombie"; $uniformarray[2][1]="1"; $uniformarray[3][0]="Bob Abreu"; $uniformarray[3][1]="29"; $uniformarray[3][2]="53"; $uniformarray[4][0]="Matt Albers"; $uniformarray[4][1]="37"; $uniformarray[5][0]="Moises Alou"; $uniformarray[5][1]="18"; $uniformarray[6][0]="Jose Altuve"; $uniformarray[6][1]="27"; $uniformarray[7][0]="Josh Anderson"; $uniformarray[7][1]="20"; $uniformarray[8][0]="Brad Ausmus"; $uniformarray[8][1]="11"; $uniformarray[9][0]="Brandon Backe"; $uniformarray[9][1]="37"; $uniformarray[9][2]="41"; $uniformarray[10][0]="Jeff Bagwell"; $uniformarray[10][1]="5"; $uniformarray[11][0]="Glen Barker"; $uniformarray[11][1]="29"; $uniformarray[11][2]="22"; $uniformarray[11][3]="24"; $uniformarray[12][0]="Derek Bell"; $uniformarray[12][1]="14"; $uniformarray[13][0]="Carlos Beltrán"; $uniformarray[13][1]="15"; $uniformarray[14][0]="Lance Berkman"; $uniformarray[14][1]="17"; $uniformarray[15][0]="Craig Biggio"; $uniformarray[15][1]="7"; $uniformarray[16][0]="Nate Bland"; $uniformarray[16][1]="35"; $uniformarray[17][0]="Geoff Blum"; $uniformarray[17][1]="27"; $uniformarray[18][0]="Tim Bogar"; $uniformarray[18][1]="27"; $uniformarray[19][0]="Brian Bogusevic"; $uniformarray[19][1]="19"; $uniformarray[20][0]="Kent Bottenfield"; $uniformarray[20][1]="47"; $uniformarray[21][0]="Jason Bourgeois"; $uniformarray[21][1]="11"; $uniformarray[22][0]="Michael Bourn"; $uniformarray[22][1]="14"; $uniformarray[22][2]="21"; $uniformarray[23][0]="Taylor Buchholz"; $uniformarray[23][1]="39"; $uniformarray[24][0]="David Carpenter"; $uniformarray[24][1]="28"; $uniformarray[25][0]="Jason Castro"; $uniformarray[25][1]="15"; $uniformarray[26][0]="Roger Clemens"; $uniformarray[26][1]="22"; $uniformarray[27][0]="Cecil Cooper"; $uniformarray[27][1]="15"; $uniformarray[28][0]="Francisco Cordero"; $uniformarray[28][1]="37"; $uniformarray[29][0]="Carlos Corporan"; $uniformarray[29][1]="22"; $uniformarray[30][0]="Jose Cruz"; $uniformarray[30][1]="25"; $uniformarray[31][0]="Nelson Cruz"; $uniformarray[31][1]="41"; $uniformarray[32][0]="Rhiner Cruz"; $uniformarray[32][1]="55"; $uniformarray[33][0]="Larry Dierker"; $uniformarray[33][1]="49"; $uniformarray[34][0]="Octavio Dotel"; $uniformarray[34][1]="41"; $uniformarray[34][2]="29"; $uniformarray[35][0]="Matt Downs"; $uniformarray[35][1]="16"; $uniformarray[36][0]="Scott Elarton"; $uniformarray[36][1]="50"; $uniformarray[37][0]="Morgan Ensberg"; $uniformarray[37][1]="2"; $uniformarray[37][2]="14"; $uniformarray[38][0]="Tony Eusebio"; $uniformarray[38][1]="10"; $uniformarray[38][2]="20"; $uniformarray[39][0]="Adam Everett"; $uniformarray[39][1]="3"; $uniformarray[39][2]="28"; $uniformarray[40][0]="Carl Everett"; $uniformarray[40][1]="3"; $uniformarray[41][0]="Jared Fernandez"; $uniformarray[41][1]="56"; $uniformarray[41][2]="41"; $uniformarray[42][0]="Mike Gallo"; $uniformarray[42][1]="45"; $uniformarray[43][0]="Phil Garner"; $uniformarray[43][1]="3"; $uniformarray[44][0]="Hector Gimenez"; $uniformarray[44][1]="56"; $uniformarray[45][0]="Keith Ginter"; $uniformarray[45][1]="1"; $uniformarray[46][0]="Luis Gonzalez"; $uniformarray[46][1]="26"; $uniformarray[47][0]="Ricky Gutierrez"; $uniformarray[47][1]="12"; $uniformarray[48][0]="Mike Hampton"; $uniformarray[48][1]="38"; $uniformarray[48][2]="10"; $uniformarray[49][0]="Ja Happ"; $uniformarray[49][1]="30"; $uniformarray[50][0]="Lucas Harrell"; $uniformarray[50][1]="58"; $uniformarray[50][2]="64"; $uniformarray[51][0]="Latroy Hawkins"; $uniformarray[51][1]="22"; $uniformarray[52][0]="Carlos Hernandez"; $uniformarray[52][1]="55"; $uniformarray[52][2]="27"; $uniformarray[53][0]="Runelvys Hernandez"; $uniformarray[53][1]="50"; $uniformarray[54][0]="Richard Hidalgo"; $uniformarray[54][1]="15"; $uniformarray[54][2]="16"; $uniformarray[55][0]="Jason Hirsh"; $uniformarray[55][1]="53"; $uniformarray[56][0]="Chris Holt"; $uniformarray[56][1]="45"; $uniformarray[56][2]="44"; $uniformarray[57][0]="Aubrey Huff"; $uniformarray[57][1]="9"; $uniformarray[58][0]="Brian L Hunter"; $uniformarray[58][1]="19"; $uniformarray[58][2]="21"; $uniformarray[59][0]="Mike Jackson"; $uniformarray[59][1]="38"; $uniformarray[60][0]="Jason Jennings"; $uniformarray[60][1]="23"; $uniformarray[61][0]="Charlton Jimerson"; $uniformarray[61][1]="52"; $uniformarray[62][0]="Chris Johnson"; $uniformarray[62][1]="23"; $uniformarray[63][0]="Randy Johnson"; $uniformarray[63][1]="51"; $uniformarray[64][0]="Russ Johnson"; $uniformarray[64][1]="19"; $uniformarray[64][2]="9"; $uniformarray[65][0]="Jeff Kent"; $uniformarray[65][1]="12"; $uniformarray[66][0]="Jeff Keppinger"; $uniformarray[66][1]="28"; $uniformarray[66][2]="8"; $uniformarray[67][0]="Dallas Keuchel"; $uniformarray[67][1]="60"; $uniformarray[68][0]="Mike Lamb"; $uniformarray[68][1]="26"; $uniformarray[69][0]="Jason Lane"; $uniformarray[69][1]="24"; $uniformarray[69][2]="16"; $uniformarray[70][0]="Carlos Lee"; $uniformarray[70][1]="45"; $uniformarray[71][0]="Jeff Leonard"; $uniformarray[71][1]="46"; $uniformarray[71][2]="30"; $uniformarray[72][0]="Brad Lidge"; $uniformarray[72][1]="54"; $uniformarray[73][0]="Jose Lima"; $uniformarray[73][1]="42"; $uniformarray[74][0]="Matt Lindstrom"; $uniformarray[74][1]="22"; $uniformarray[75][0]="Mark Loretta"; $uniformarray[75][1]="8"; $uniformarray[76][0]="Jed Lowrie"; $uniformarray[76][1]="4"; $uniformarray[77][0]="Julio Lugo"; $uniformarray[77][1]="4"; $uniformarray[78][0]="Brandon Lyon"; $uniformarray[78][1]="37"; $uniformarray[79][0]="Tommy Manzella"; $uniformarray[79][1]="12"; $uniformarray[80][0]="Jd Martinez"; $uniformarray[80][1]="14"; $uniformarray[81][0]="Ed Mathews"; $uniformarray[81][1]="11"; $uniformarray[82][0]="Tj Mathews"; $uniformarray[82][1]="39"; $uniformarray[83][0]="David Matranga"; $uniformarray[83][1]="1"; $uniformarray[84][0]="Kazuo Matsui"; $uniformarray[84][1]="3"; $uniformarray[85][0]="Edwin Maysonet"; $uniformarray[85][1]="23"; $uniformarray[85][2]="18"; $uniformarray[86][0]="Tony Mcknight"; $uniformarray[86][1]="59"; $uniformarray[87][0]="Mark Mclemore"; $uniformarray[87][1]="62"; $uniformarray[88][0]="Mark Melancon"; $uniformarray[88][1]="54"; $uniformarray[89][0]="Mitch Meluskey"; $uniformarray[89][1]="4"; $uniformarray[89][2]="21"; $uniformarray[89][3]="2"; $uniformarray[90][0]="Orlando Merced"; $uniformarray[90][1]="16"; $uniformarray[91][0]="Dan Miceli"; $uniformarray[91][1]="40"; $uniformarray[91][2]="58"; $uniformarray[92][0]="Jason Michaels"; $uniformarray[92][1]="4"; $uniformarray[93][0]="Trever Miller"; $uniformarray[93][1]="46"; $uniformarray[93][2]="47"; $uniformarray[94][0]="Wade Miller"; $uniformarray[94][1]="52"; $uniformarray[95][0]="Dave Mlicki"; $uniformarray[95][1]="43"; $uniformarray[95][2]="23"; $uniformarray[96][0]="Brian Moehler"; $uniformarray[96][1]="36"; $uniformarray[96][2]="38"; $uniformarray[96][3]="39"; $uniformarray[97][0]="Ray Mongomery"; $uniformarray[97][1]="21"; $uniformarray[97][2]="39"; $uniformarray[98][0]="Joe Morgan"; $uniformarray[98][1]="12"; $uniformarray[98][2]="18"; $uniformarray[98][3]="35"; $uniformarray[99][0]="Pete Munro"; $uniformarray[99][1]="53"; $uniformarray[100][0]="Eric Munson"; $uniformarray[100][1]="58"; $uniformarray[100][2]="13"; $uniformarray[101][0]="Brett Myers"; $uniformarray[101][1]="39"; $uniformarray[102][0]="David Newhan"; $uniformarray[102][1]="31"; $uniformarray[103][0]="Fernando Nieve"; $uniformarray[103][1]="64"; $uniformarray[104][0]="Bud Norris"; $uniformarray[104][1]="31"; $uniformarray[104][2]="20"; $uniformarray[105][0]="Roy Oswalt"; $uniformarray[105][1]="44"; $uniformarray[106][0]="Orlando Palmeiro"; $uniformarray[106][1]="19"; $uniformarray[107][0]="Jimmy Paredes"; $uniformarray[107][1]="38"; $uniformarray[108][0]="Troy Patton"; $uniformarray[108][1]="65"; $uniformarray[109][0]="Felipe Paulino"; $uniformarray[109][1]="55"; $uniformarray[109][2]="52"; $uniformarray[110][0]="Hunter Pence"; $uniformarray[110][1]="9"; $uniformarray[111][0]="Lance Pendleton"; $uniformarray[111][1]="60"; $uniformarray[112][0]="Roberto Petagine"; $uniformarray[112][1]="29"; $uniformarray[113][0]="Andy Pettitte"; $uniformarray[113][1]="21"; $uniformarray[114][0]="Colin Porter"; $uniformarray[114][1]="1"; $uniformarray[114][2]="9"; $uniformarray[115][0]="Jay Powell"; $uniformarray[115][1]="39"; $uniformarray[116][0]="Brandon Puffer"; $uniformarray[116][1]="59"; $uniformarray[117][0]="Chad Qualls"; $uniformarray[117][1]="50"; $uniformarray[118][0]="Humberto Quintero"; $uniformarray[118][1]="9"; $uniformarray[118][2]="46"; $uniformarray[118][3]="55"; $uniformarray[119][0]="Tim Redding"; $uniformarray[119][1]="51"; $uniformarray[120][0]="Shane Reynolds"; $uniformarray[120][1]="37"; $uniformarray[120][2]="38"; $uniformarray[121][0]="JR Richard"; $uniformarray[121][1]="50"; $uniformarray[122][0]="Aneury Rodriguez"; $uniformarray[122][1]="62"; $uniformarray[123][0]="Nolan Ryan"; $uniformarray[123][1]="34"; $uniformarray[124][0]="Kirk Saarloos"; $uniformarray[124][1]="50"; $uniformarray[124][2]="23"; $uniformarray[125][0]="Chris Sampson"; $uniformarray[125][1]="43"; $uniformarray[126][0]="Jordan Schafer"; $uniformarray[126][1]="1"; $uniformarray[126][0]="Luke Scott"; $uniformarray[126][1]="30"; $uniformarray[127][0]="Mike Scott"; $uniformarray[127][1]="33"; $uniformarray[128][0]="Todd Self"; $uniformarray[128][1]="37"; $uniformarray[129][0]="JB Shuck"; $uniformarray[129][1]="8"; $uniformarray[130][0]="Henry Sosa"; $uniformarray[130][1]="65"; $uniformarray[131][0]="Ricky Stone"; $uniformarray[131][1]="35"; $uniformarray[131][2]="20"; $uniformarray[132][0]="Don Sutton"; $uniformarray[132][1]="20"; $uniformarray[133][0]="Miguel Tejada"; $uniformarray[133][1]="10"; $uniformarray[134][0]="JR Towles"; $uniformarray[134][1]="46"; $uniformarray[135][0]="Jose Valverde"; $uniformarray[135][1]="47"; $uniformarray[136][0]="Jose Vizcaino"; $uniformarray[136][1]="10"; $uniformarray[137][0]="Billy Wagner"; $uniformarray[137][1]="13"; $uniformarray[138][0]="Brett Wallace"; $uniformarray[138][1]="29"; $uniformarray[139][0]="Daryle Ward"; $uniformarray[139][1]="31"; $uniformarray[140][0]="Bob Watson"; $uniformarray[140][1]="27"; $uniformarray[140][2]="26"; $uniformarray[141][3]="11"; $uniformarray[141][0]="Dan Wheeler"; $uniformarray[141][1]="35"; $uniformarray[142][0]="Ty Wigginton"; $uniformarray[142][1]="21"; $uniformarray[143][0]="Preston Wilson"; $uniformarray[143][1]="4"; $uniformarray[144][0]="Randy Wolf"; $uniformarray[144][1]="39"; $uniformarray[145][0]="Wesley Wright"; $uniformarray[145][1]="53"; $connid = mysql_connect ('localhost' , 'rastrono' , 'sinhosejar'); mysql_select_db ("rastrono_numbers"); $query = "SELECT aname, name, fullname, firstname, lastname FROM cardtable WHERE fullname REGEXP '/[1-9][0-9]*)' ORDER BY lastname, firstname"; $result=mysql_query($query); while($row = mysql_fetch_array($result)){ $firstname= $row['firstname']; $lastname = $row['lastname']; $aname=$row['aname']; $firstname=str_replace(" ^","",$firstname); $firstname=str_replace("^ ","",$firstname); $lastname=str_replace(" ^","",$lastname); $lastname=str_replace("^ ","",$lastname); $name= $row['name']; $name=strtolower($name); $name=ucwords($name); if ($name!=$playername[$playerindex]) { $query2 = "SELECT aname, firstname, lastname, major FROM Numbertable WHERE lastname = '".$lastname."' AND firstname = '".$firstname."' AND aname = '".$aname."' AND major = 'MAJOR '"; $result2=mysql_query($query2); while($row = mysql_fetch_array($result2)){ $playerindex++; $playername[$playerindex]= $name;}} } echo "
".$playername[$i]." wore # ".$uniformarray[$j][1]; if ($uniformarray[$j][2] != "") {echo " and # ".$uniformarray[$j][2];} if ($uniformarray[$j][3] != "") {echo " and # ".$uniformarray[$j][3];} if ($uniformarray[$j][4] != "") {echo " and # ".$uniformarray[$j][4];} echo " while with the Astros: | |
".$counterspacer.$counter.". ".$fullname." | |