How do i make it so that the name of the cookie is whatever $username2 is? This is what i have at the moment.
<?
$username2 = $_POST['username2'];
if (isset($_COOKIE[$username2]))
echo "";
else
setcookie($username2, $username2, time()+3600);
?>
Am i missing quotations or something because at the moment it just isnt adding the cookie.