Home » Tutorials (page 2)


How to create a facebook app

facebook developers wallpaper

Before writing more advanced tutorials, I’ve decided to start with the basics. Facebook changed their interface in 2014, which might be confusing for some developers. Especially for the beginners. In this tutorials we’ll cover the basics of creating a new Facebook Application. First go to https://developers.facebook.com/ and click on Apps > Create a New App. Display Name -> The name ...

Read More »

How to reset WordPress password from PhpMyAdmin

lost wordpress password

Nowadays, it might be very common to forget the password for your own blog. When trying to protect ourselves from hackers, we are thinking too complicated passwords that are not easy to remember. Or the even more difficult option – we auto generate random passwords that are impossible to remember. Your blog password might also be hacked or something else. ...

Read More »

Border-radius with CSS3

CSS3 wallpaper

With CSS3 you can easily give any element “rounded corners” by using the border-radius property. You can also create rounded borders and for Firefox 3.5+ you can even create elliptical borders. For easier use, you can try our Border Radius Generator tool. For best browser support you should prefix the border-radius with -webkit- and -moz-. Let’s look a few examples: ...

Read More »

Style HTML5 Placeholder with CSS

Change placeholder color

In the previous tutorial, I showed you how to create a responsive HTML5 Mail Form. In every form you can add placeholders that describe the expected value of an input field. They show as a short hint which is displayed in the input field before the user enters a value. The HTML syntax for using placeholder is: But how to ...

Read More »

Creating Simple Responsive HTML5 and PHP Contact Form

responsive email form php

In this tutorial I will show you how to create a responsive html5 contact form for your website in just a few minutes. Having a Contact form is essential for any website, because this is the connection with your visitors and clients. The form is divided in two parts – the HTML5/CSS3 Responsive part and the PHP backend code part ...

Read More »

How to Speed Up your WordPress Site

wordpress website speed

Site speed is one of the most important characteristics for any product website, blog, online magazine or any other website for that matter. When a user visits some website, the first thing he notices is the loading speed and then the design. However, while users are always in a hurry on the web, the time they spend on individual page ...

Read More »

Creating JSON API with pagination

The goal of today’s tutorial is to create a REST API with pagination. The API will get several values from MySQL and then convert them to JSON format. For the purpose of the tutorial we will get the post_title and the post_date from ftutorials’s MySQL. In your real API you can print whatever data you want. Create a file api.php ...

Read More »

Margin 0 auto is not working

a piece of css code

Very common problem nowadays is how to actually make margin: 0 auto; to work. You probably know that this CSS rule is used to center some content horizontally on the page. But sometimes it just refuses to work properly. First check if some of the following solutions will help: The element must not have a fixed or absolute position Try ...

Read More »

Quick Tip: Facebook fan page tab scroll to top

scroll to top facebook

A very common problem when you are coding facebook apps is that the facebook iframe doesn’t go to top when new page is loaded. For example you place a button at the bottom of the page and when the user clicks it, he can’t understand what’s happening. The user has to scroll manually to the top of the page, every ...

Read More »

Multilingual wordpress site with Polylang

multilingual wordpress site with polylang

In this tutorial I will show you how to easily translate your website with the Polylang wordpress plugin. With this plugin you can translate posts, pages, media, categories, post tags, menus, widgets and etc. And the most important – it’s free. First make sure you are using WordPress 3.1 or later and that your server is running PHP5. Then install ...

Read More »

Export cyrillic mysql database to csv

cyrillic encoding

Very common encoding problem is when you are trying to export cyrillic mysql database to CSV for MS Excel. We all know what is the normal export procedure – go to phpMyAdmin > select the desired table and click Export. For Export Method choose Custom – display all possible options. Then change the encoding to utf-16. The problem when you ...

Read More »