i have a form and when i do submit i got in url ?captcha=captcha&submit= complete url http://localhost/signup/signup.php?captcha=captcha&submit= .
1.why i am getting this i have not use php for url
my code is
html
<div id="captcha-input">
<form class="form-wrapper"><input type="text" name="captcha" value="captcha"/>
<button type="submit" name="submit">Submit</button>
</form>
</div>
You haven’t specified the
actionattribute on your form so it is being submitted to the current URL that your page was loaded from. If you want it to be posted to a different page change your opening form tag to something like this: