In this tutorial, I’ll show you eight different ways to add to, remove from and insert elements to/from an array in PHP. PHP array functions used include: array(), array_push(), array_unshift(), array_pop(), array_shift(), array_slice(), count(), array_diff() and array_splice().
Inheritance in PHP tutorial with example code.
The guts of a secure password reset feature for your login script… using PHP
Use filter_input(), filter_var() and these two other PHP functions to add another layer of security to your applications
Bit of a hot topic lately in my inbox. Here’s what an old, vulnerable query might look like: $expected_data = 1; $query = “SELECT *
PHP 7’s null coalescing operator is handy shortcut along the lines of the ternary operator. Here’s what it is, how to use it and why:
INSPINIA has sold 29,598 units at $18 a piece. That’s $532,764. SmartAdmin sold 20,136 units at $12 a piece. That’s $241,632. Unify… $321,828. That’s just
In 2011, online survey giant, SurveyMonkey, acquired Wufoo Forms for 35 million. SurveyMonkey itself does 113 million a year in revenue. And, it’s valued at
I remember this annoying error like it was yesterday. It always baffled me a bit when I first started learning PHP (I know… N00B!): Fatal
When you verify an email address, there’s really three things you want to do: Don’t submit the form unless the email address is valid Give hints
Arrays are like that crazy uncle who gets a little too drunk at Christmas and starts telling inappropriate jokes at the dinner table. You love