checkbox & php
steven russcher
08/04/2009 19:05:00Code (php)
1
2
3
4
5
6
2
3
4
5
6
<form action='index.php?p=berichten/del' method='post'>
<input type='checkbox' name='delete' value='134' />
<input type='checkbox' name='delete' value='1234' />
<input type='checkbox' name='delete' value='156' />
<input type='submit' value='delete' />
</form>
<input type='checkbox' name='delete' value='134' />
<input type='checkbox' name='delete' value='1234' />
<input type='checkbox' name='delete' value='156' />
<input type='submit' value='delete' />
</form>
en nu moet ik in de pagine waar die heen gaat alle values opvragen, en als ik gewoonecho $_POST['delete']; doe dan krijg ik maar 1 value te zien..
hoe kan ik ze allemaal weergeven?