Programming
Match Text With Regular Expressions in PHP
Find, capture, validate, and replace text with PHP's preg_match(), preg_match_all(), and preg_replace(). Work one string through four common jobs using named groups and anchored…
Web Development Tutorials
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.
New to the stack? Work through these in order — from setup to a running app.
Set up your site
Install WordPress Locally On WindowsCustomize safely
Create a WordPress Child ThemeAdd your own content
Register A Custom Post Type In WordPressMake it dynamic
Create A Shortcode In WordPressLoad your own code
Enqueue CSS And JavaScript In WordPressProgramming
Find, capture, validate, and replace text with PHP's preg_match(), preg_match_all(), and preg_replace(). Work one string through four common jobs using named groups and anchored…
Programming
Call a JSON API from PHP with the bundled cURL extension. Run a GET and a POST, read the HTTP status code, and decode…
Programming
Store a small value in the visitor's browser with setcookie() and read it back from the $_COOKIE array. Build a page that remembers a…
Server Administration
Log in to a remote server without a password using SSH keys. Generate an ed25519 key pair, copy the public key to the server,…
Server Administration
Run commands on a fixed timetable with cron. This tutorial opens your crontab, explains the five time fields, schedules a nightly logged backup, and…
Server Administration
Get a free, trusted TLS certificate for your site with certbot and Let's Encrypt. Install certbot, issue the certificate against a live Apache virtual…
Server Administration
Force every visitor onto HTTPS with a permanent Apache redirect. This tutorial adds a mod_rewrite rule and a cleaner port-80 virtual host, restarts Apache,…
Database Administration
Reset the MySQL root password from the terminal when you are locked out, using skip-grant-tables recovery mode and ALTER USER to set a new…
Database Administration
Create an index in MySQL and use EXPLAIN to prove it worked, turning a 5,000-row full table scan into a targeted lookup of just…
Database Administration
Add a foreign key in MySQL to link two tables and have the database enforce it, rejecting orphan rows while an ON DELETE CASCADE…
PHP, Laravel, WordPress and jQuery — hands-on coding guides worked through end to end.
43 tutorials →Apache, environments, and running your stack on Windows without the guesswork.
10 tutorials →MySQL queries, PDO, and the everyday tasks of keeping your data in order.
12 tutorials →