I am assuming that you have MySQLAdmin running in the background.
I honestly don't know why it won't connect.
Check this line:
$result = mysql_query("select * from employes",$db);
Is it employes or employees and I don't think that you need ,$db in your select statement. Remove that and see what happens.
Also, check to make sure that this is the correct statement for this line:
printf("Address: %s<br>\n", mysql_result($result,0,"last"));
shouldn't it be
printf("Address: %s<br>\n", mysql_result($result,0,"address"));
???