Timothy Yang - Activity 3

Single vs Double Quotes in PHP

My name is $name (single quotes)

My name is Timothy (double quotes)

Explanation

Single quotes show the text literally while ignoring varibles and double quotes will allow variables. Double quotes are good for when you want to show what values and single quotes are usually for plain text.