PipSqueak
26-02-09, 17:03
I'm not a very good programmer so I really need help in this. My tracker script uses cookies for tracking and in order to get information of the cookie, it uses this:
<?php echo $_COOKIE['visitor_id'];?>
I tried this:
$sClickRef = "clickref=<?php echo $_COOKIE['visitor_id'];?>"; # awin clickref
and
$sClickRef = "clickref='.echo $_COOKIE['visitor_id'];.'"; # awin clickref
but it gave me an error.
Thanks in advance
<?php echo $_COOKIE['visitor_id'];?>
I tried this:
$sClickRef = "clickref=<?php echo $_COOKIE['visitor_id'];?>"; # awin clickref
and
$sClickRef = "clickref='.echo $_COOKIE['visitor_id'];.'"; # awin clickref
but it gave me an error.
Thanks in advance