Single quotes display text exactly as it is written. Variables are not read inside single quotes. Double quotes allow PHP to read variables and display their values. In this example, the variable $name only shows its value when double quotes are used.