Listen, I've been stressing for 5 hours this will be helpful if you guys could understand and help me
I need a simple PHP code that when I input a text, and then press submit it redirects to my website with the text that I entered in the box, so basically i want it to write the Text that I put, into the URL (Example: www.site.com/[name]) will be kinda like www.site.com/rob.
This is my form HTML Code
<form name="form" method="post">
<input type="text" id="text_box" name="text_box" placeholder="Username"><br>
<button name="submit" class="button buttonlol">Search</button>
If you guys could figure this out for me, it'll be very helpful thank you.