Latest Posts

How to Display a WordPress Post With Posts From a Particular Category Using PHP and a Plugin WordPress Tutorial

In the course of developing this blog, I run into a lot of challenges. I’m pretty picky, so that often means figuring out how to produce certain results. Henceforth, lots of googling, lots of potential solutions, and testing and tweaking
Read More How to Display a WordPress Post With Posts From a Particular Category Using PHP and a Plugin WordPress Tutorial

Not Everything in Life is a Crisis, or How I Stopped Being Such a Drama Queen How to Stop Making Everything Into a Crisis

For many, many years, I had an awful habit of jumping from one life crisis to the next. Got charged way more for a doctor’s visit than I expected? CRISIS! Got into an argument with a relative? CRISIS! Almost got
Read More Not Everything in Life is a Crisis, or How I Stopped Being Such a Drama Queen How to Stop Making Everything Into a Crisis

How to limit user actions based on the last time they used a site feature PHP/Mysql Tutorial

I put together a gamified learning website for my kids to help them practice math and English concepts. As a bonus way to earn currency on the site, I added a feature that let them visit a ‘treasure parlor’ where
Read More How to limit user actions based on the last time they used a site feature PHP/Mysql Tutorial

Specify Multiple Webpages’ Titles Based on the Page Name Using PHP PHP Snippet

I’ve had scenarios pop up multiple times where I wanted to 1) custom code titles for my webpages based on the name of the webpage 2) be able to change them from one page instead of having to comb through
Read More Specify Multiple Webpages’ Titles Based on the Page Name Using PHP PHP Snippet

Simple PHP Script That Accurately Determines User’s Age (in Years) Simple Age PHP Script (with 3 variations)

For fun, I decided to write a simple PHP script that would give you your age accurately (in years) regardless of what point in the current year you’re at. You provide the digits of your birthday (month, day, and year)
Read More Simple PHP Script That Accurately Determines User’s Age (in Years) Simple Age PHP Script (with 3 variations)

Simple PHP Web Script to Keep Up With Your Chickens’ Age PHP Tutorial

Updated: May 7, 2017 Edited Chickager code to make the month estimation more accurate. It no longer rounds up to a whole digit, making the age in months bigger than what it should be (i.e. It would now would say
Read More Simple PHP Web Script to Keep Up With Your Chickens’ Age PHP Tutorial

How to Import SQL Into Your MySQL Database Via phpMyAdmin

If you followed my tutorial on making a MySQL database in Cpanel, you may have noticed at the end of that tutorial that I talked about populating your database with tables and data. Oftentimes, when you’re installing a script, the
Read More How to Import SQL Into Your MySQL Database Via phpMyAdmin

How to Set Up a MySQL Database in Cpanel (for Script Installations)

If you run across a PHP/MySQL-driven script that you want to install, you’ll need to know how to set up a MySQL database. In this tutorial, I take you step by step through the process. Please note that this tutorial
Read More How to Set Up a MySQL Database in Cpanel (for Script Installations)

Adding a Copyright Range at the Bottom of Your Website Using PHP PHP Snippet

I wanted to implement a simple copyright message in the footer of this site, but the theme I’m using doesn’t allow that (free version of the theme lacks the ability to edit the text.) So, while that’s a bummer, I figured
Read More Adding a Copyright Range at the Bottom of Your Website Using PHP PHP Snippet