Menu
Hey,
I’m trying to determine which product the user clicks on. When they click the buy now button, a form is submitted to this page one of the fields is
[code]
<form action=”AppRequest.php” method=”POST”>
<input name=”COMPANY” type=”hidden” value=”$company$”>
<then the submit button>
</form>
Now in AppRequest.php I am trying to determine the company name that the user clicked but it isn’t working.
[code]
<?PHP
if($_POST[‘COMPANY’] == “The Canada Life Assurance Company”){
echo $_POST[‘COMPANY’];
}else{
echo “Could not determine the company selected.”;
}
?>