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

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

Programming

Use Transactions With PHP PDO

A PDO transaction groups several database writes into one all-or-nothing unit. This tutorial builds the classic bank-transfer example: the debit and credit either both…

July 22, 2026

Programming

Handle Events With jQuery

Handle events in jQuery with .on() — the single method for clicks, form submits, and field changes. This task-list example covers stopping a form's…

July 21, 2026

Programming

Read A CSV File In PHP

Read a CSV file in PHP with fgetcsv(), which splits each row into an array and keeps quoted fields containing commas intact. Pair it…

July 20, 2026

Programming

Create A Shortcode In WordPress

A shortcode lets an author drop dynamic output into any post by typing a small tag in square brackets. This tutorial builds three shortcodes…

July 19, 2026

Programming

Enqueue CSS And JavaScript In WordPress

Load stylesheets and scripts the WordPress way, with wp_enqueue_style() and wp_enqueue_script() on the wp_enqueue_scripts hook. This tutorial builds a small plugin that enqueues a…

July 19, 2026

Server Administration

Install WordPress Locally On Windows

Run WordPress on your own Windows machine with XAMPP, a free bundle of Apache, MariaDB, PHP, and phpMyAdmin. This tutorial installs the stack, creates…

July 19, 2026

Programming

Register A Custom Post Type In WordPress

Add your own content type to WordPress by calling register_post_type() on the init hook. This gives you a Book type with its own admin…

July 19, 2026

Programming

Send an Email in PHP

Send email in PHP two ways: the built-in mail() function for the simplest case, and PHPMailer over authenticated SMTP for HTML messages, attachments, and…

July 18, 2026

//

Most read

2 1,720 views
3 1,710 views
4 1,426 views
5 1,310 views
6 1,217 views
//

Browse by topic