Posts in category: PHP & MySQL

Nova Framework | PHP & MySQL | Tutorials

Using X-editable for inline editing

X-editable allows you to create editable elements on your page. Includes both popup and inline...

David Carr


API | PHP & MySQL | Tutorials

Post to Slack using the incoming webhooks API

Slack is a great tool for teams I use it to communicate with the rest of my team, recently I’v...

David Carr


PHP & MySQL | Tutorials | Tools

How to use Github Hooks to send updates to your website

For anyone that uses Github know’s how useful it is, especially on the collaboration front. Al...

David Carr


PHP & MySQL | Tutorials

PHP reverse date using strtotime

I use datepickers a lot in my projects the date’s default to the American YYYY-MM-DD format so...

David Carr


PHP & MySQL | Tutorials | Development

Installing php 7 on Mac

Setting up a mac to run php 7 instead of the default php 5.5.

David Carr


PHP & MySQL | Tutorials | Development

Gitlab download private repository as tar.gz with php

Gitlab is a great alternative to Github or BitBucket, they offer free private and public repositorie...

David Carr


PHP & MySQL | Tutorials | Development

How to Set up PHP Statistics

Sometimes you need to make improvements to your code and make things more efficient. Using some simp...

Dan Sherwood


PHP & MySQL | Tutorials

Extract image source from img tag

To extract the image source from an image tag making use of preg_replace and a regular exp...

David Carr


PHP & MySQL | Tutorials

Checking all array keys are the same with PHP

Here is a simple way to check the values of an array contain the same value using array_count_values...

David Carr


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


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.