I have a tiny CI form, like following:
<div class="box_txt">
<?php $attributes = array('clock_id' => $clock['id']); ?>
<?php echo form_open('clock/start', $attributes) ?>
<input type="submit" value="Start" />
</form>
</div>
And it generates a from with the folowing openning:
<form action="../clock/start" clock_id="123" method="post" accept-charset="utf-8">
I would really need to know what's the correct way to capture the clock_id in controller's function?