How do save data into a database with a button that is located different from the input form? this is my sample code
<form action="{{ route('store') }}">
@csrf
<input type="text" name="title"></form>
<form action="{{ route('store') }}">
@csrf
<button class="btn" type="submit">Submit</button></form>
when I run the code above, and output it via dd (...). it can't run. can the above code be used or do I have to combine the two things? when I wrap all of my divs with forms, it looks unresponsive (sorry, if my english so bad)