Hello!
I need to be able to capture a variable in a URL then pass it to another page when a link is clicked. The link will go to a form. The form has a hidden field where I need to pass this variable. The URLs look like this:
http://www.URL.com/index.html?WT_mc_id=419_gogl_se_ins_1_090409
Should I use session or cookie? I tried this:
<?php
session_start();
$session['WT'] = $GET['WT_mc_id'];
?>
Then in the hidden field in the form I tried this:
<input name="SRC_REF" type="hidden" value="<?php echo $WT; ?>" />
But it didn't pass the variable. Any help would be great!
Scott