PHP - single and double quotes - the difference
There's a button below (sneak peek) to peek at the code.
This is sent to the browser:
It is easy to see what the single quote does. Now what if you need quotes in quotes? It would look like this:
But what happens if you add a variable. Let's take a look:
Php says:'sugar and sugar'
'sugar and $variable'
"sugar and $variable"
"sugar and sugar" >> continue
Sneak peek of the server side code