This is my code.
<?php
$name = 'John Doe';
echo 'My name is $name';
echo "I am from $_COOKIE['mylocation']";
i got an error from this
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in : eval()'d code on line 3
if any one know about this please help me.