Using Strings
Well you first need a string.
$my_first_string = "yippie my first string";
echo "great string man";
echo $my_first_string;
Result:
great string man - yippie my first string
If using single quotes in a string, it must be escape the single-quote with a backslash \ . Like this: \'
Double-quotes allow for many special escaped characters to be used that you cannot do with a single-quote string.
A backslash is used to escape a character, such as single-quote and double quotes
|