I need to create an "add to basket" image that will firstly submit order to database and then open a new page from the site. I can make the two elements work on their own but not combined. (Basket is zencart)

This is what I have:

<form name="cart_quantity" action="http://www.zencart.com?main_page=product_info&amp;action=add_product" method="post" enctype="multipart/form-data">

<input type="hidden" name="cart_quantity" value="1">

<input type="hidden" name="products_id" value="1" />

<input type="image" src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />

<a href="http://www.zen-cart.com" target="_blank"></a></form>

BUT the href does nothing.

Any help or suggestions gratefully accepted.