Which of the following is the proper syntax for the latest version of PHP?
echo "My name is $name. How are you?";
echo "My name is " . $name . ". How are you?";
Are you able to help answer this sponsored question?
Questions asked by members who have earned a lot of community kudos are featured in order to give back and encourage quality replies.