I have several checkboxes
they look like this
<input type="checkbox" name="board-' . $row5['ID_BOARD'] . '" value="1" />
(so they have in the end the nema board-1, board-2 etc)
Now I have to get those values and add them into a database.
I hard you can use foreach and $HTTP_POST_VARS annd foreach
but I'm not really familiar with those two. anyboy could help me a bit how to write it? thanks
after I have the values it has to be inserted:
UPDATE {$db_prefix}boards
SET notifies = '$notification'
WHERE ID_BOARD = $board
(it has to make the process of updating for as many checkboxes that were selected.
thanks.