Ok, when i added your thingy it said some could not connect thing but i fixed it and now its the same as it was...
This is the code now:
<?php
$con = mysql_connect("****","****","****");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
$db_con = mysql_select_db("****", $con);
if (!$db_con)
{
die('Could not connect to "****": ' . mysql_error());
}
$result = mysql_query("SELECT * FROM Members");
echo "<table border='1'>
<tr>
<th>PSN Navn</th>
<th>Navn</th>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['login'] . "</td>";
echo "<td>" . $row['FirstName'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
The error is still:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /~/www/****.tk/members/index.php on line 22