cancel button using php
<p>I have a form,if users clicks cancel with value or w/o value in the textfield it should redirect.</p>

<p>Now w/o entering value it is working.If users enters it is getting into db.</p>

<p>I tried all js scripts but still not working</p>

<p><a href="http://pastebin.com/qYLVrMC7" rel="nofollow">http://pastebin.com/qYLVrMC7</a></p>

<p>Thanks in advance.</p>
