I created a textbox in the following manner
<input type="text" name="email" id="email" class="text_inp2" value="Email" onclick="if(this.value=='Email'){this.value='';}" onblur="if(this.value==''){this.value='Email';}" />
So, that it shows the default text in textbox as Email
and when I edit it something like admin@stackoverflow.com
and when I submit (i.e. PHP Post function) it still posting the value as Email
but not admin@stackoverflow.com
I don't want to use Query String method. Is there anyway I can get rid of it by using simple PHP Post function.