We’ll be using the MySQL built-in function char_length to demonstrate how to filter and sort based on a size of a columns width in characters.
Hide and Show and Element Using JQuery
You have a div tag you want to hide with the id “myElementID”. You want to show that same div again. Don’t forget to include
Moving Your Git Project to GitHub
From the root of your current project run this command. That’s it!
Loop Through All Properties of a PHP Object
Looping through all of a PHP objects properties is just as easy as an array. Output:
Validating JSON
The PHP json_decode function will return a strict null if the string passed into it is invalid json or it can’t parse it successfully. The
Using Create/Select to Create a New Table From Another
In a single statement you can copy the structure and data from one table in MySQL and populate the results of a query into the

How to use emoji’s on your website
The proper way to use emojis on you’re site is to use the HTML unicode characters. Just copy and paste them into your html. You’ll
Function To Remove All Cookies For The Domain
This PHP function will delete all valid cookies for a domain. We’re also sanitizing the cookie variable names from invalid characters.
String Concatenation Using concat Function
Unlike SQL Server, String concatenation works using a function. It’s a simple function that you pass comma separated values into in the order you want
How to do Email Validation
Using the PHP filter_var function we can test email addresses for valid format and only unicode characters. Example usage below.