<?php
if($_SERVER['REQUEST_METHOD'] == 'POST')
{
if (isset($_POST['eens']))
{
$_SESSION['antwoorden'][$_SESSION['aantal']] = 'eens';
}
if (isset($_POST['oneens']))
{
$_SESSION['antwoorden'][$_SESSION['aantal']] = 'oneens';
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Naamloos document</title>
</head>
<form method="post" action="">
<body>
<table>
<tr>
<td width="250px" align="left"><input type='image' name='eens' value='eens' src='Images/Eens.png'></td>
<td width="250px" align="right"><input type='image' name='oneens' value='oneens' src='Images/Oneens.png'></td>
</tr>
</table>
</body>
</form><
</html>
Alvast bedankt, Lisette