When I click the “Send “Request” button, the query string ?req_flag=0 disappears from the URL.
Where am I making a mistake here? I need following URL: localhost/flavourr/send_req.php?req_flag=0&f_e_mail_add=value
<pre>
<form method="get" action="send_req.php?req_flag=0">
<input type="text" name="f_e_mail_add" value="Enter email of your friend" onblur='if (this.value == "") {this.value = "Enter email of your friend";}' onfocus='if (this.value == "Enter email of your friend") {this.value = "";}' size="35" />
<input type="submit" value="Send Request" />
</form></pre>
Just add a hidden value as shown below and remove the ‘?req_flag=0’ from the action attribute.