Posts in category: Tutorials

Tutorials | Development

Stop MAMP delay between saving and viewing changes

I’ve noticed recently when using MAMP to test PHP 7 that changes are not shown right away when...

David Carr


Demos | Javascript | HTML | Tutorials

Dynamically set iframe properties with jQuery

Using jQuery it’s possible to pass properties to set the src, width and height of an iframe fr...

David Carr


HTML | CSS | Tutorials

iframe set height to 100%

Iframes are useful to loading external pages into an existing page and avoiding any style conflicts,...

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


Demos | Javascript | Tutorials

Duplicate form sections with jQuery

When working with forms it can be incredibly useful to duplicate parts of the form, for instance whe...

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


Javascript | HTML | CSS | Tutorials | Tools | Development

Speed up your website using minify

One of the factors to consider when improving your search engine ranking is page speed. Reducing the...

David Carr


Tutorials | Development

What type of web development tutorials do you prefer?

I’ve been giving a lot of though to the tutorials I create recently, when I go through tutoria...

David Carr


Javascript | HTML | Tutorials

Add hour to datetimepicker

When working with dates and forms I like to use datepickers, these allow the users to use a calendar...

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.