Okay, an hour-and-a-half of trying to figure this out has gotten me nowhere…
I’ve seen on some sites to [b]only
Could someone PLEASE, I beg you, lead me to a very simple working example of how to set and retrieve a cookie (w3schools, php.net didn’t help, among others)? Or, please show me how my approach is incorrect:
[code]
<html>
<body>
<?php
$_GET[‘val’];
setcookie(‘val1’, $val);
$myCookie = $_COOKIE[‘val1’];
echo (‘<script type=”text/javascript”>alert(‘.$myCookie.'</script>’);
?>
</body>
</html>
RESULT: alert returns nothing (null).
May God bless you if you can help me. ?
Regards,
bubbis