Showing posts with label Styling. Show all posts
Showing posts with label Styling. Show all posts

Thursday, March 8, 2012

Getting Started with PHP: Strings

Strings


Strings are lines of text characters:
"AwesomeDoni loves books"
"It's raining outside today"
These are two examples of strings. In PHP, these are indicated by quotations after a command. It's useful because you can simultaneously declare a variable and its value while commanding PHP to perform a function, enclosing variables to be displayed as text as single quotes.