<?php
// Make a MySQL Connection
mysql_connect("localhost", "root", "") or die(mysql_error());
mysql_select_db("vodknive") or die(mysql_error());
// Get a specific result from the "example" table
$result = mysql_query("SELECT * FROM mes") or die(mysql_error());
// get the first (and hopefully only) entry from the result
while($row = mysql_fetch_array( $result )) {
// Print out the contents of each row
echo $row['merkid']." - ".$row['beschrijving']. "<br />";
}
?>
559 views
ik denk dat jonathan op de goede weg is maar ik kan er niet meer aan uit ik gebruik voor een mysql database en dit is mijn code