For some reason the statement mysql_connect("localhost", "root", "password") seems to connect to www.localhost.com, and then die.
What I (obviosly) want to do, is to connect to the mysql db locally on my machine.
Here is the complete code:
<?php
echo "ÅÄÖåäö";
mysql_connect("localhost", "root", "svensson") or die("Sune");
echo "Sune!";
mysql_select_db("example");
$sql = "SELECT * FROM mytable";
$result = mysql_query($sql);
echo "Sune!";
?>