search
top
Currently Browsing: PHP Syntax

The Joy of PHP: Deep Dive Into Sessions is here

A new book is now live on Amazon. Check it out at http://www.amazon.com/The-Joy-PHP-Sessions-ebook/dp/B00DLJYWCE read more

PHP treats single quotes and double quotes differently

When working with strings, it is important to understand the difference in how PHP treats single quotes (echo ‘Hello $name’; ) as compared with double quotes (echo “Hello $name”; ) Single quoted strings will display things exactly “as is.” Variables will not be substituted for their values. The first example above (echo ‘Hello $name’; ) will print out Hello... read more

top