<?php while($detail_data=$details -> fetch_object()):?>
<form action="<?=base_url;?>detail/add_detail" method="POST">
<button class="submit">
<abbr title="Actualizar material"> <i class="fa fa-pencil"></i></button></abbr>
</button>
<input type="hidden" value="<?=$detail_data -> worksheet_id ?>" name="worksheet_id">
<input type="hidden" value="<?=$detail_data -> subcategory_id?>" name="subcategory">
<input type="hidden" value="<?=$detail_data -> detail_quantity?>" name="detail_quantity">
<input type="hidden" value="<?=$detail_data -> detail_price?>" name="detail_price">
<input type="hidden" value="<?=$detail_data -> detail_discount?>" name="detail_discount">
</form>
there are a loot of hidden inputs sent by post. Is there any other way to do it ? Im using MVC and i cant pass variables in get because my url method.