Posts in category: PHP & MySQL

Blog | PHP & MySQL | Tutorials

Creating a blog from scratch with PHP

This tutorial will cover creating a very simply blog, it will only consist of posts, the front-end w...

David Carr


PHP & MySQL | Tutorials

Detecting and replacing bad words in PHP

User submitted content should always be moderated before its used or outputted on a public website,...

David Carr


PHP & MySQL | Tutorials

Create an RSS feed with PHP

This tutorial will cover how to create a valid RSS feed from a database table of records using PHP.

David Carr


Demos | PHP & MySQL | Tutorials

Simple Member Only Page

Here's a quick way to secure a page so only logged in users can access it otherwise the user is...

David Carr


PHP & MySQL | Tutorials | Tools | Development

Sending HTML emails & attachments using PHP & Swiftmailer

Sending email with raw PHP is very easy to do, but sending HTML email is a little more involved brin...

David Carr


PHP & MySQL | Tutorials

Adding multiple times together in an array with PHP

Adding times together can be complex when taking seconds, minutes and hours into account of multiple...

David Carr


PHP & MySQL | Tutorials

Splitting a telephone number in php with substr

I recently had a collection of numbers in the format of area code then the telephone number with no...

David Carr


PHP & MySQL | Tutorials

How to upload videos to YouTube with PHP

Using the YouTube API its possible to upload videos to your own YouTube account using their API, thi...

David Carr


Demos | PHP & MySQL | Javascript | Tutorials

Dynamically binding select menus with PHP & jQuery

I've recently had the need to show different select menus depending on what was selected in the...

David Carr


Demos | PHP & MySQL | Javascript | Tutorials

Autocomplete with PHP, MySQL and Jquery UI

A clean guide on creating an autocomplete input using jQuery UI & PHP

David Carr


PHP & MySQL | Tutorials

Getting the week commencing date and week number using PHP

Using php's date function you can get all sorts of date combinations including finding the week...

David Carr


PHP & MySQL | Tutorials | Tools

Generate a PDF from a web page

Easily convert a web page into a PDF with MPDF, this library makes it possible to take a webpage and...

David Carr


PHP & MySQL | Tutorials | Development

Pagination with a PHP class

I've recently wrote a pagination class for php, I used to do this in a procedural way by using f...

David Carr


PHP & MySQL | Tutorials

PHP adding multiple times together

Working with dates and times can be tricky unless you use some handy built in functions, I found mys...

David Carr


PHP & MySQL | Tutorials

Connecting to your MySQL database with PDO (PHP Data Object)

It's been coming for some time but mysql_ has been officially depreciated and will be removed co...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.