Level 52
3 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi I am coding and building my website using Laravel. I do not know how will I make the back button of the browser go to the previous URL.
There is the browser button but you said you want a button in your form so you can create it, for example with Bootstrap :
<a href="javascript:history.back()" class="btn btn-primary">Back</a>
Please or to participate in this conversation.