+ 2
Can anyone explain proper use of single and double quotes with backslash in php.
2 Antworten
+ 3
If you put a quote in a string, then the compiler will think that it’s the end of the string. So you can ‘escape’ the character by putting a backslash behind it, which will tell the compiler that it’s a quote in a string.
+ 2
Ok thanks