DenMaki DenMaki - 7 months ago 57
PHP Question

How to go back to previous page with retain the ID's in URL Codeigniter

this is my always code in go back

<a href="<?=site_url($controller)?>"><i class="icon-chevron-left"></i> Go Back</a>

My question is that how can i back to my previous page that my retain my id in my previous page like this....

This is my previous page:

This is my current page:

----I want to go back to "/scms/contracts/serial/3"


<a href="#" onclick="window.history.back();">Go back</a>