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

So, here at the Enders household, we have 4 lively chickens taking up residence in a brooding cage. This is the first set of chickens we’re raising and as of yesterday, they are about a month old. It’s been a

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