include("/home2/thegaunt/www/common/bandheader-new.php"); include("/home2/thegaunt/www/adm/connectdb.php"); import_request_variables("gP", ""); if (is_numeric($bid)) { function band_name($t_id) { global $link; $sql = "SELECT band FROM bands WHERE bid = '$t_id'" ; $sql_result = mysql_query ($sql, $link ) or die ('request "Could not execute SQL query"'); $row = mysql_fetch_row( $sql_result ); return $row[0]; }; ?>