I am new on php and i am trying to add this code
Im finding this error please any one who can solve this for me
<?php
$myName = ‘Guest’;
$myVar = “Welcome back $myName”;
echo $myVar;
?>
This is my html
<p><?php echo $myVar; ?></p>
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks like you are using funny quotes rather than the straight ‘ and ” types.