A Laravel and PHP Blog

Creating a table within a database

PHP & MySQL Tutorials

This tutorial will explain how to create a users table in your database. This tutorial will assume y...

David Carr


Viewing data from a database

PHP & MySQL Tutorials

A tutorial on viewing data from a database. There are many ways to retrieve data from a database thi...

David Carr


Counting results in PHP

PHP & MySQL Tutorials

A basic tutorial to show you how to use php to count the number of results in a MySQL query

David Carr


Building a content management system from scratch

Demos CMS PHP & MySQL Tutorials

A few people have asked me for links for tutorials on making a cms or have asked me to write one, so...

David Carr


Newsletter Tutorial Part 2 Sending out HTML and Plain Text Emails

PHP & MySQL Tutorials

Part 1 (Newsletter Tutorial Part 1 The Signup) looked at setting up a database table to store email...

David Carr


Newsletter Tutorial Part 1 The Signup

Demos PHP & MySQL Tutorials

This newsletter tutorial will show you how to create a newsletter signup form, part 2 will show you...

David Carr


Importing CSV (spreadsheet) data into a MySQL Database using PHP

PHP & MySQL Tutorials

Working with CSV files is very common practice, as such you'll want to add data from spreadsheet...

David Carr


Delete rows from a MySQL database with a confirmation

PHP & MySQL Javascript Tutorials

Delete rows from a MySQL database with a confirmation This tutorial shows you how to delete rows fro...

David Carr


Login Script with Validation

PHP & MySQL Tutorials

A login script tutorial to log users into your database driven site using sessions

David Carr


Article pagination with OOP (split article into pages)

Demos PHP & MySQL Tutorials

When you have a long article you may want to split the article into pages. This is easy to do on a s...

David Carr


How to ping search engines with curl

PHP & MySQL Tutorials

When you add new story or update an existing one it may take a few weeks for search engine bots to r...

David Carr


Reset Password Script

PHP & MySQL Tutorials

This tutorial will show you how to create a reset password script.

David Carr


Create a simple FTP class

PHP & MySQL Tutorials

FTP is well known to all designers/developers to moves files from a local computer to a remote web s...

David Carr


Connecting to an imap server using imap_open

IMAP PHP & MySQL Tutorials

php allows you to do a lot of things including reading your email! This IMAP series will show you ho...

David Carr


How to create a language changer with PHP

Demos PHP & MySQL Tutorials

Some sites cater for more then just the English speaking world in such sites there is a need for mul...

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.