Printing array keys and values with PHP
Being able to quickly or efficiently get the keys from an array which is most likely an API call is great. You can see what data exists which may not…
PHP backend web language
Being able to quickly or efficiently get the keys from an array which is most likely an API call is great. You can see what data exists which may not…
Here is how to implement the Bootstrap grid system into a PHP MySQL foreach loop. The code is set to be 4 columns on large screens, 2 on small screens…
How to deal with errors, warnings, alerts or notices with PHP. You cannot hard code them into a page because at times they wont be needed yet when they are…
PHP’s base64_encode() and base64_decode() are functions that encode the inputted data with base64 and then decode it back to its original state before being encoded. A classic example is a…
Doing a loop through on a MySQL query is super useful and common. It allows you to make tables, rows and output data in a controlled manner without doing many…
MySQL DateTime format is Y-m-d H:i:s known as Year-month-day hour:minute:second. It is the bare bones datetime format for both MySQL and PHP…. it contains all you need to know and…
A MySQL insert in PHP can be easily done however they can be long and tedious. Frustrating to essentially make a table and then repeat it again with an insert…
To check if a file exists you use the PHP function file_exists. Input the path to the file and it will return TRUE if the file exists otherwise FALSE. if…
By tags I mean hashtags or “describers” often only just a single word but sometimes more. Handling them in PHP is different to most other variables as they’re often singular…
If you develop themes, plugins, websites for paying customers there is obviously a strong notion that you don’t have malicious intent, that your code does what it’s described as doing…