Web Development Tutorials
//

Author: admin

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

Database Administration

Join Tables in MySQL

Join tables in MySQL to combine related rows in a single query. Learn INNER JOIN for matches, LEFT JOIN to keep unmatched rows, table…

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

Server Administration

Enable mod_rewrite in Apache

Enable mod_rewrite in Apache to turn ugly query strings into clean URLs. Load the module, allow .htaccess overrides, then add one RewriteRule so a…

July 25, 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

Programming

Resize an Image in PHP

Resize an image in PHP with the GD extension. Load the source, create a smaller canvas, and copy the pixels across with imagecopyresampled() to…

July 23, 2026