@mysql_connect( “localhost”, “masterof_yulia”, “gfhjkm”) or die(“Could not connect to MySQL server!”);
@mysql_select_db(“masterof_profiles”) or die(“Could not select riders database!”);
$query = “SELECT * FROM riders where visibility=’1′ and year=’2011′ and sup=’sup’ order by name asc”;
$result = mysql_query($query);
print ”

“;

while ($row = mysql_fetch_array($result)) :

print ”

  1. “.$row["name"].”
    Profession: “.$row["profession"].”
    Email: “.$row["email"].”
  2. ” ;

    endwhile;
    print “

“;
mysql_close();
?>