Web Development Tutorials
//

Category: Programming

Programming

Format Dates and Times in PHP

Format, parse, and compare dates with PHP's built-in DateTime class. format() prints any layout, createFromFormat() reads non-standard strings, and diff() measures the gap between…

July 28, 2026

Programming

Register a Custom Taxonomy in WordPress

Group your WordPress content your own way, beyond the built-in categories and tags. register_taxonomy() on the init hook creates a hierarchical Topic taxonomy —…

July 28, 2026

Programming

Add a Custom Meta Box in WordPress

Give the WordPress post editor an extra field of your own — a short "key takeaway" saved with each post. A small plugin adds…

July 27, 2026

Programming

Handle Sessions in PHP

Keep a user logged in across page loads with PHP's built-in session functions. session_start() opens the session, the $_SESSION array holds the data, and…

July 27, 2026

Programming

Hash and Verify Passwords in PHP

Hash and verify passwords in PHP with password_hash() and password_verify(). Store a secure bcrypt hash, check logins against it, and upgrade old hashes automatically…

July 26, 2026

Programming

Get the Last Inserted ID With PHP PDO

Get the last inserted ID with PHP PDO by calling lastInsertId() right after an INSERT. This tutorial captures the AUTO_INCREMENT id of a new…

July 24, 2026