Html4newbies
Put your hands into html and php
Home
Privacy
About
Contact

Hosting Links
Hosting
Free Php Snippets
Php Snippets 1
Php Snippets 2
Php Strings


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


Copyright © 2002-2017 Html4newbies - Html4newbies.com NetWork