Quotes


My name is Kenneth

My name is Kenneth

There is not much difference when using single / double quotes within php code.


The only time it would be critical to use double quotes is when including variables in an echo command.

This line is contained by double quotes. Within the php code I have a variable called $ example:

Here is what is displayed when I remove the space between the cash symbol and variable: 10000

This line is contained by single quotes. We dont want this to happen! $example