so regardless of where the user clicks the add to cart button, you want the continue shopping link to always point tot he results page?
just make the continue shopping button a link to the results page then:
<a href="results.php"><input type="button" name="WA_Store_Cart_Continue_100" id="WA_Store_Cart_Continue_100" value="Continue Shopping" alt="Continue Shopping" /></a>