Anyway, started with a Windows 7 64Bit machine running IIS, installed PHP and off I whent. Made some pages echoing text, comparing, some forms, transfer a value to a second page. Easy stuff...
Install MySQL5.5, and this is where the problems started... Getting information from the database
Using the MySQL Workbench I can open the DB, make some collumns and add the data. So now I have a DB called "test", it holds a table with the name "employees" and it has a value to retrieve with the name "employee", or "ID". Doesn't matter.

Took an example from the W3SCHOOLS website and changed it to match my own setup.
Code: Select all
<html>
<body>
<?php
echo "hier begint de connectie";
$con = mysql_connect("localhost","root","*******");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("test", $con);
$result = mysql_query("SELECT * FROM employees");
while($row = mysql_fetch_array($result))
{
echo $row['Employee'];
echo "<br />";
}
mysql_close($con);
?>
</body>
</html>- When I change the server name in the connection, the password or the username nothing happens either...
And I am staring and staring, but can't seem to put the finger on the problem
Any suggestions???