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
A new book is now live on Amazon. Check it out at http://www.amazon.com/The-Joy-PHP-Sessions-ebook/dp/B00DLJYWCE
Hello Joy of PHP readers, An asture reader has pointed out a bug in one of my scripts and, frankly, it was so embarassing that I just had to share it with you all. I’d like to think it’s a mistake any beginner can make, and as such I want to share it with you […]
The switch statement is similar to a series of IF statements on the same expression. In many occasions, you may want to compare the same variable (or expression) with many different values, and execute a different piece of code depending on which value it equals to. This is what the switch statement is for. [php] […]
Hello all, The book is now available on Amazon as a Kindle book. Although it hasn’t been on the market for long, it was briefly at #1 Bestseller status for its category, bestsellers in PHP Computer Programming. The Best Seller list Go directly to the book This is the introductory price, so don’t wait. Ultimately […]
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’; ) […]
Hi all, In case you missed it, if you are a Kickstarter backer I posted a private update that has a URL in it with a copy of the book as it is so far. If you purchased the book via PayPal and want an advance copy, please email me… you know my email address. […]
Sure the idea of dynamic web pages is cool, but you can only go so far when you only use what’s built into PHP, like changing the page based on the day of the week. What you’d really like to do is make a web page unique for each visitor, and that’s where databases come […]
I am pleased to add CWS Technology as a new official sponsor. CWS Technology is an established player in the IT market and offers its expertise in custom php development,web and mobile applications development, application management outsourcing, consulting, and system integration. I have personally used them on projects, and would recommend them to anyone needing […]
Hi all, As I write, I tend to fill in the sections I want to cover first, then go back and fill in the content. Each time I do this, the Table of Contents automatically updates… which is very nice. So I updated the earlier post on the TOC so you can see how it […]
This is a small example of the ‘good’ form of variable naming. What’s good about it is the fact when you read the code: echo “This $brand $model is a $year <br>”; it is fairly easy to guess which variable is which. Contrast this with the ‘bad form’ variables, which is much harder to read. […]