I'm trying to write a PHP file in TextEdit.
I put this in between <?php and ?>:
When I ran the script, I got this as output: âHelloâ
If I insert any non-alphanumeric character between those quotation marks, I get an error:
I put this in between <?php and ?>:
Code:
echo "Hello";
When I ran the script, I got this as output: âHelloâ
If I insert any non-alphanumeric character between those quotation marks, I get an error:
Parse error: parse error, expecting `','' or `';'' in /Users/montana/Sites/log-out-user.php on line 2