have you tested your functions one at a time? like, did you verify that your connecting to the db? personally i find it easier to set the db info in one file "databaseinfo.inc.php" for example and then include that file as needed.
anyway, this looks weird to me:
//Set-Up MySQL Query to select all records
$sql = "SELECT * FROM sheet 1 WHERE 1 ";
WHERE 1? wtf is that? is it suppose to be "WHERE sheet 1 = 1? anyway, doens't look syntactically correct.
what happens if you do "SELECT * FROM sheet 1"? do you get results?
it also doesn't look like ever return any data either. that's probably the problem. you need to set the db results to something. right now, it's just set to return a "true" or "false" answer. (0 or 1). so maybe setup a "
while ($results = mysql_fetch_array ($query, MYSQL_ASSOC)) { $query_results = $results ['sheet 1']; }
also, never include db password info in your posts. just not a good idea. i would edit your post [NOW] and take out hte password...that's just me though.