i am doing url masking to pass the values. the code below input a variable.
<form >
<input type="text" name="name" required />
<button type="button" id="btn" action="drive/<?php echo$_GET['name'];?>
/">submit</button>
</form>
i want to pass the value like
drive/12
but when i click the submit button it is passing like
drive/?name=3.
what is the correct way of submitting the value?