Posts in category: PHP & MySQL

PHP & MySQL | Tutorials | Social Media

Post updates to Buffer using PHP

Buffer is a great social media management tool, perfect to scheduling facebook and twitter updates....

David Carr


PHP & MySQL | Tutorials

Leverage PHP to decrease page load times

Increase your page speed by merging your various css and js files into a single css and js file.....

David Carr


PHP & MySQL | Tutorials | Tools

Sending emails with PHPMailer and Mandrill

Sending emails with PHP’s mail function is not recommended it’s not reliable and hard to...

David Carr


PHP & MySQL | Tutorials

Create a list of items from a folder using scandir

Quick tip to create a list page that will read the files from a directory and link to them is super...

David Carr


PHP & MySQL | Tutorials

Reading markdown files with parsedown

Read me files on GitHub are written in Markdown, I wanted to be able to grab the contents of a...

David Carr


PHP & MySQL | Tutorials

Scraping GitHub

For an upcoming project I need to be able to dynamically get information about a GitHub repository s...

David Carr


PHP & MySQL | Tutorials

comparing multiple values against in_array

PHP's in_array is useful to determine if an item is in an array but when needing to compare...

David Carr


PHP & MySQL | Tutorials

Using Premailer to convert styles to inline styles for HTML emails automatically with PHP

Sending HTML emails can be tricky, not all mail clients support the same css. Most ignore external s...

David Carr


PHP & MySQL | Tutorials

Forcing HTTPS with PHP

Using HTTPS is recomended, Google also preferes HTTPS they recently announced: “HTTPS is&...

David Carr


IMAP | PHP & MySQL | Tutorials

Cpanel create emails with php

Here’s a easy way to create new email addresses for Cpanel using PHP. I recently needed t...

David Carr


Demos | PHP & MySQL | Tutorials

Create PDF with form data

It’s possible to populate a PDF using information provided by a form using the MPDF ...

David Carr


PHP & MySQL | Tutorials

How to backup and restore a MySQL Database

I was recently asked how do backup and restore a database. As with most things in programming there...

David Carr


PHP & MySQL | Tutorials | Tools | Development

Beginner Guides

The following is a collection of useful starter guides and tutorials.

David Carr


PHP & MySQL | Tutorials

Upload multiple files with a single input with HTML 5 and PHP

HTML 5 makes it possible to upload multiple files using a single input thanks for a new multiple att...

David Carr


PHP & MySQL | Tutorials

Select previous and next rows in MySQL

Selecting previous and next rows based on the current row is a common task in most web applications,...

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.