$result_max = mysql_query($query_max, $connect) or die(mysql_error());