Hello All,
I am setting a cookie in a PHP script which also has some html , the first line is setcookie function as required.
<?php
setcookie("user", "xyz", time()+3600);
?>
<html>
------ some html tags
</html>
In other PHP script where am trying to access , i get a blank value . $user=$_COOKIE["user"];
Can anyone tell me why is this happening ?