A Laravel and PHP Blog

Connecting to a MySQL database with PDO

PHP & MySQL Tutorials

This video covers connection to a database using PDO in a try catch block with Exceptions.

David Carr


Get longitude and latitude from an address with PHP and Google Maps API

PHP & MySQL Javascript Tutorials

Getting longitude and latitude from an address used to be a fairly complex task a few years ago, tha...

David Carr


Display Tweets from Twitter for API 1.1

PHP & MySQL Javascript Tutorials Social Media Development

Twitter as of 11th of June 2013 has turned off access to its API version 1.0. All requests now need...

David Carr


Creating a blog from scratch with PHP - Part 2 SEO URLS

Demos Blog PHP & MySQL Tutorials

This tutorial will cover adding SEO urls to the existing blog, This part will cover using (SEO) sear...

David Carr


Creating a blog from scratch with PHP

Blog PHP & MySQL Tutorials

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

David Carr


Detecting and replacing bad words in PHP

PHP & MySQL Tutorials

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

David Carr


Create an RSS feed with PHP

PHP & MySQL Tutorials

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

David Carr


Simple Member Only Page

Demos PHP & MySQL Tutorials

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

David Carr


Sending HTML emails & attachments using PHP & Swiftmailer

PHP & MySQL Tutorials Tools Development

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

David Carr


Adding multiple times together in an array with PHP

PHP & MySQL Tutorials

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

David Carr


Splitting a telephone number in php with substr

PHP & MySQL Tutorials

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

David Carr


How to upload videos to YouTube with PHP

PHP & MySQL Tutorials

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

David Carr


Dynamically binding select menus with PHP & jQuery

Demos PHP & MySQL Javascript Tutorials

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

David Carr


Autocomplete with PHP, MySQL and Jquery UI

Demos PHP & MySQL Javascript Tutorials

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

David Carr


Use advanced filters in Sequel Pro

Tools Development

Sequel Pro is a great remote database management tool, when viewing contents of a table there is a b...

David Carr


Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

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