I have the following problem:
or die ("unable to connect to database");

or die ("unable to select database");

// Query

$sql = "SELECT * FROM medewerker";

$result = mysql_query($sql);
echo "$result";
What I get on the page is:
Resource id #2

I don't understand why I won't show all the records I have in the database.
What am I doing wrong?