hie
I have generated subscribe button for recurring product from paypal.
and this generated button code I have added in my code , but when i click on that subscribe image it will not redirect to paypal site

so please help me to how and where do i add subscribe button code for recurring payment?

for reference:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">    
                <input type="hidden" name="cmd" value="_s-xclick"/>
                <input type="hidden" name="hosted_button_id" value="TP2Q9N258VBDC"/>
                <input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0"     name="submit" alt="PayPal - The safer, easier way to pay online!"/>
                <img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"/>
                
            </form>