formulier code:
<div class="form-group">
<label for="male_performer" class="col-md-4 control-label">Male Performer</label>
<?php $sql_query5 = "SELECT DISTINCT artist_id, artist FROM artist where artist_gender='M' order by artist";
$result5 = $handler->query($sql_query5 );?>
<div class="col-md-8">
<select id="box" name="male_performerField" class="selectpicker form-control" multiple title="Choose one or many of the following..." >
<?php
while($row5 = $result5->fetch()) //$row is resultset.. walk through results row by row.
{
extract($row5);
echo '<option value="'. $artist_id .'">'. $artist .'</option>';
}?>
</select>
</div>
</div>
Met deze code probeer ik de @post te lezen:
<?php
foreach ($_POST as $key => $value)
{
echo'Key:'.$key.'-value:'.$value.'<br>';
}
?>