Hi all,
The topic description says it all.
Can anyone see where i might be going wrong?
Here is the code:
<?
} else {
$_SESSION['gv_2'] = $_POST['gv_2'];
?>
<SCRIPT LANGUAGE='JavaScript'>
<!--
function submit_the_form() {
document.orderform_2.submit();
}
// -->
</SCRIPT>
<FORM name="orderform_2" action="cart/addtocart.php" method="post" onLoad="submit_the_form()">
<input name="movie_id" type="hidden" value="GV_10500">
</FORM>
<?
}
?>
Cheers,
micmac