A Laravel and PHP Blog

A simply way to extract title and other attributes from a image tag

PHP & MySQL Tutorials

There's times where you need to dynamically extract attributes from image tags such as extractin...

David Carr


Contact Form Tutorial

PHP & MySQL Tutorials

Need a contact form for your site? This tutorial shows you how to create one.

David Carr


Resize images on upload

PHP & MySQL Tutorials

This tutorial will show you how to upload an image and create 2 images, a full sized image and a thu...

David Carr


Upload images through a simple form

PHP & MySQL Tutorials

This tutorial will show you how to upload an image and give it a name in a simple form

David Carr


Avoiding: Headers already sent or Cannot modify header information

PHP & MySQL Tutorials

From time to time you may want to refresh the page or redirect the page with php this is very easy t...

David Carr


Searching with PHP and MySQL beyond LIKE

PHP & MySQL Tutorials

Ever wanted to add a search feature to your php & MySQL driven web site? Then your in luck this...

David Carr


Registration script with Validation

PHP & MySQL Tutorials

In this tutorial I will explain how to create a user registration script along with validation.

David Carr


Change file permissions dynamically with php

PHP & MySQL Tutorials

A tutorial to change file permissions dynamically with php

David Carr


Delete folders from server using PHP

PHP & MySQL Tutorials

A tutorial to create a function to delete folder and all sub folders from the server.

David Carr


Show all MySQL databases and tables

PHP & MySQL Tutorials

Want to see what databases you have and what tables are inside each database but do not have access...

David Carr


Strip tags from a string

PHP & MySQL Tutorials

From time to time you may need to remove certain tags from a string but leave other tags in tact, Th...

David Carr


Split a string into parts using explode

PHP & MySQL Tutorials

A tutorial to split a string into parts using explode.

David Carr


Sticky Forms with PHP

PHP & MySQL HTML Tutorials

Ever submitted a form and not filled in all the field only to have to fill them all in again? This t...

David Carr


Using the Rand() function in PHP

PHP & MySQL Tutorials

This tutorial introduces you to the function rand() MySQL has many built in functions one of which i...

David Carr


Edit data from a database

PHP & MySQL Tutorials

A tutorial to edit existing data from a MySQL database.

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.