The problem i am having is that when i change a link in a form a sql query wont work.
the query works when i use this link(index3.php) in the form, this is a link from my website.
<center><p>
<form action="index3.php" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="[email protected]">
<?php paypal_items(); ?>
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="amount" value="<?php echo $total; ?>">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click- but03.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
</p></center>
But the query does not work when i use this link(https://www.paypal.com/cgi-bin/webscr) in the form. this is a link to the paypal website
<center><p>
<form action="index3.php" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="[email protected]">
<?php paypal_items(); ?>
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="amount" value="<?php echo $total; ?>">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but03.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
</p></center>
is this because the paypal link is an external link ???
Can anyone help please and does anyone know how i could get the query working with the paypal link in the form ??