PHP Form Validation

If you program custom PHP applications, you will often times need to work with a form and require certain form fields. A few real world examples would be a contact form, registration form or signup form. This form validation with PHP tutorial shows you a simple and quick method for creating a form page that handles errors and pre-populates fields if there is an error, and a method for processing the php form and validating the information. Continue reading

The Most Useful Piece of PHP Code – Looping through Arrays

Working with and looping through arrays is one of the most useful things you can learn how to do with web applications. Anything from forms, API’s to configuration values, arrays make it easy in working with values. Take look at this simple example that illustrates the basics in working with the $_POST array. Continue reading

Improve Profitability and Productivity: Why Working More is not the Solution

Most employers want to see their salaried employees work more than 40 hours per week. This is a flawed philosophy because it assumes that more work time equals more output or that putting in more time will equal more profit. This leads me to the following question.

Which employee is more valuable? Continue reading

Why the hell would I want to wait for retirement?

Society has been telling us that we should be saving and working 40+ years so that someday we can “retire”.

Things will probably slow down in some regard when we get older, but there is a general idea that we will stop working and do nothing at that point (which is absurd). Boredom is not a companion that I want to live with on a daily basis when I get to that age. Continue reading