Web Development Tutorials

Web Development Tutorials

Practical web-dev,
one tutorial at a time.

NdrieL is a web-development tutorials site — clear, step-by-step guides for WordPress, PHP and Laravel, each one worked through from the first line of code to a result you can run. No fluff — just the steps that work.

WordPress PHP Laravel MySQL Apache
//

Start here

New to the stack? Work through these in order — from setup to a running app.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
//

Latest tutorials

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

Server Administration

Create an Apache Virtual Host

Create an Apache virtual host to serve multiple sites from one Apache install. Define a block with ServerName and DocumentRoot, add a hosts-file entry,…

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

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

//

Most read

2 1,732 views
3 1,720 views
4 1,434 views
5 1,317 views
6 1,221 views
//

Browse by topic