I get asked all the time if it is possible to loop multiple times through a MySQL result set in PHP. Here’s the answer.
If-Else statements are a vital part of programming, however sometimes all the code that goes into writing are not required, especially if only only simple condition is needed. This is what the ternary operator is used for. Continue reading “Ternary Operators in PHP: Shorthand If Else Statements”
Sorting an array in PHP is not as difficult as many people make it out to be. This quick tutorial will walk you through the steps necessary to sort a date array. Continue reading “Sort an Array in PHP by Date”
This tutorial will show you how to build a function that will validate if a number falls between a specific range of values. Continue reading “How To Check If A Number Is Between Two Values Tutorial”
This tutorial will teach you how to validate a URL in php.
Continue reading “How To Validate A URL in PHP Tutorial”
Among senior developers, PHP is often seen as a tool for non-complex applications and rapid programming environments that may never be launched. I’m going to discuss the reasons for this, and things PHP developers can do to change this perception. Continue reading “Why Does PHP Have A Bad Reputation?”
A detailed introduction into object oriented programming for PHP developers looking to expand their skills. OOP in PHP is the next step for any developer wanting to improve their code. Continue reading “The Basics of OOP For The PHP Programmer”
Ensuring that you properly sanitize your PHP input variables is an essential first-step in making your website secure. Unfortunately, thousands of websites and scripts on the internet do not properly filter variables, causing a very large security vulnerability in these websites. Continue reading “Cleaning PHP Input Variables Before MySQL Insertion”