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…
Programming
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…
Programming
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…
Programming
Read a CSV file in PHP with fgetcsv(), which splits each row into an array and keeps quoted fields containing commas intact. Pair it…
Programming
A shortcode lets an author drop dynamic output into any post by typing a small tag in square brackets. This tutorial builds three shortcodes…
Programming
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…
Server Administration
Run WordPress on your own Windows machine with XAMPP, a free bundle of Apache, MariaDB, PHP, and phpMyAdmin. This tutorial installs the stack, creates…