Hi. My name is $myname. I drank $mycoffee cups of coffee today.

"; /* CAVEATS 1. Distinction between literal and interpreted values. Using the $ to define a variable name signals that something should be interpreted. What if we wanted to use a $ literally? Example output: The name of the variable is $cost. In the example below, we would see "The name of the variable is $2." because PHP interprets $cost as a variable and not a literal. To literally print $cost we need to "escape" the dollar sign. print "

The name of the variable is \$cost.

"; */ $cost = "$2"; print "

The name of the variable is $cost.

"; print "

The name of the variable is \$cost.

"; /* Here are some commonly used characters that you might need to escape. \" double quote \' single quote \\ backslash \$ dollar sign */ print "

Here is an example in which I need to be \"careful\" with the use of double quotes.

"; ?>