I have the following problem:
I need from visitors of my website, to choose an item from item list, and depending on what they have selected, to be redirected to different pages, when submit is clicked.
The link will vary - so I created this script:
<?php
$first = $_REQUEST['first'] ;
$second = $_REQUEST['second'] ;
$address = '$first + $second' ;
header( "Location: http://www.somedomain.com/$address" );
?>
When I leave just one variable (for example, just $first) the link is working, and everything is fine. But when I add another variable, $second, the link won't work.
Any ideas where the error might be?
Thanks in any case
SS