Hello Wales. thx for your quick reply
Indeed I am trying to insert the form fields in to the data base. But I am afraid you are going a bit to fast for me. Sorry... I am newbie but ancious to learn...
OK, let cut this into two pieces. First the role field. how to fetch this from the db. this is what a started to right but got stuck ...
here's what I came up with:
<?php
// verbinding met database invoegen
include("inc_connect_mysql.php");
$sql="select * from roles
order by role_id asc";
$result = mysql_query($sql,$db);
?>
<html>
<head>
<title>Een mental coach toevoegen aan de database</title>
</head>
<body>
<h2 align="center">Een mental coach toevoegen</h2>
<table align="center">
<form method="post" action="coacher_toevoegen_sql.php">
<tr><td align="right">rol :</td>
<?php while ($rij = mysql_fetch_array($result)){