It’s probably been in every PHP ‘test’ going and is a very commonly asked question, but it’s something I’ve never covered here at Return True before. So what exactly is the best way to insert data into a MySQL table from a CSV file? Well I can’t say these are the best ways, but here are two ways I’ve come […]
In our last tutorial we looked at how to create a endpoint. Those were pages that could be created for each type of permastruct available within WordPress. This time we are going to look at creating a page that does not rely on any of WordPress’ built in permastructs and instead can match any URL you like. I would advise […]
Today we are going to take a look at using Endpoints within WordPress. Endpoints are points that you can define on the end of the normal in-built permastructs within WordPress to provide extra functionality. What is a Permastruct? A permastruct is a Permalink Structure. So for example the URL you visit when viewing a single post, normally (depending on your […]
Composer is an extremely powerful tool for PHP developers and I love it, but how about when you are building a WordPress plugin? WordPress has a lot of built in features but having access to the massive library of packages available on sites like Packagist is amazing, so the question is how do you use Composer along with WordPress? Prerequisites […]
So you have your killer new application planned out in Laravel, you get everything working with local uploads for that fancy image feature you need. Then bummer, you realize something. With a lot of hosts now shifting to SSD technology they are no longer offering unlimited hosting space. What about if you use something like Digital Ocean who only offer […]
Today I’m happy to say I can offer you an awesome freebie. A lovely member of the PixelKit team got in touch and has allowed me to offer a sample of one of their wonderful UI Kits to you lovely people. The sample includes 11 of some of the most common UI elements. These include: Navigation bar Weather Panel Profile/Author Panel Calendar Icon […]
UI Kits. What exactly are they? Well, they are something which most web designers (whether professional or hobbyists) should probably be using. User Interface Kits are magical PSDs (and sometimes other file types) created with the sole purpose of being easily integrated in to any web design. They contain elements and components that most people tend to over look or […]
Whether you’ve been developing locally for years, or you are just getting started, but have always used a locally installed server such as XAMPP or WAMP (or MAMP) it might be time to move on to a more flexible development environment. Why Use Vagrant? Vagrant is excellent for development because it creates a virtual version of a real server. It […]
In that last part of our tutorial we looked at how to add Swiftmailer to the contact form of our simple Silex website. This time we are going to look at how to finish things off by using the Form Builder, adding CSRF protection and moving our Silex install to a more secure location. If you haven’t followed the first […]
So today I was given an interesting task by a client. I had the output of a certain function. That function returns an array containing the days of the week (via numeric key, 0 = Sunday, 1 = Monday, etc). The value of each key was an array containing data. Something like this:
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Recent Comments