if($GET){
} $link = mysql_connect('localhost', 'sienasel_nbauser', 'nba!@#$') or die('Could not connect: ' . mysql_error()); echo 'Connected successfully'; mysql_select_db('sienasel_nbadb') or die('Could not select database'); $first=$_GET['f']; $last=$_GET['l']; $pos=$_GET['p']; $firsSea=$_GET['fs']; $lastSea=$_GET['ls']; $heigF=$_GET['hf']; $heigI=$_GET['hi']; $weight=$_GET['w']; $college=$_GET['c']; $query = 'INSERT into Players Values(Default,$first,$last,$pos,$firstSea,$lastSea,$heighF,$heighI,$weight,$college)' ; $result = mysql_query($query) or die('Query failed: ' . mysql_error()); for($i = 0; $i < mysql_num_fields($result); $i++) { $field_info = mysql_fetch_field($result, $i); echo "