Jump to content

help with quote marks


php_beginner_83

Recommended Posts

What do you mean with how many? You delimit a string with either single or double quotes. You pick the one you want. If you want to use that one within the string you'll have to escape it with a backslash.

 

In PHP, double quoted strings have variable interpolation and escape sequences (e.g. \n for newline). Single quoted strings are literal.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.