Posts in category: Tutorials

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


PHP & MySQL | Tutorials

Display YouTube videos from a users RSS Feed with PHP

Using an RSS feed you can load videos from a users feed, this can be as simple as a list of videos t...

David Carr


HTML | Tutorials | Tools | Development

Easily make your tables responsive with JS/CSS

I'm in the middle of building a responsive CRM when I realised it all works great except for the...

David Carr


HTML | CSS | Tutorials

Avoiding pageshift by forcing a scrollbar with CSS

Page shifting when moving from page to page? chances are its a scrollbar issue this quick tip will s...

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.