I have a Dorpdown menu and when I select a value there is a table which chnages there entries regarding to this value. Out of the table I can open every single entry in a new page. I want to make a "Back" Button and when I go back to the page there should be the value selected whch I selected before.
Here is my Dropdown Code:
<div class="ccol-l-4 col-m-12">
<form method="post" accept-charset="utf-8" action="<?php echo site_url("workpackage"); ?>">
<?php echo form_dropdown('wptypes', $wptypes, set_value('wptypes'), 'id="wptypes" class="form-select" onchange="this.form.submit()"'); ?>
</form>
</div>
Thank you for your answers :)