Quantcast
Channel: Weebtutorials » Web Development
Browsing latest articles
Browse All 21 View Live

Make a simple form validation class using PHP.

This tutorial will show you how to create a very simple form validation class using PHP. It is by no means meant to be exhaustive but it should give you a good grounding to build upon. End result: Full...

View Article


How to sort a multidimensional array by a specific value using PHP

Sorting a multidimentional array by a specific value using PHP is quite simple once you get your head around the functions required to do so.  The two functions involved are ‘usort’ & ‘strcasecmp’,...

View Article


Learn how Register/Login functionality works in PHP

  If you are just starting out in PHP and would like to learn how Register/Login functionality works in PHP then read on. Scope: The goal of this tutorial is to explain how login/registration works in...

View Article

Create a HTML5 form and submit it using AJAX. Part 2/2.

  Welcome to part 2/2 of the “Create a HTML5 form and submit it using AJAX” tutorial series. In this, the second part of the tutorial, we will be looking at submitting the form using jQuery & AJAX....

View Article

Image may be NSFW.
Clik here to view.

Develop a related posts plugin for WordPress.

As the title suggests, this post will show you how to develop a related posts plugin for WordPress. Some fairly complex topics are covered, so if you are a beginner you may want to start with my ‘Hello...

View Article


PHP: Interfaces, what are they and when should you use them?

As a PHP developer, you can probably be forgiven if you have not yet stumbled across or made use of interfaces. It’s a technique that is often overlooked in the PHP world, although it is becoming more...

View Article

PHP – function length

Today I’m going to be focusing on function length and scope. I came to writing this post after scouting around Google for a little while and finding a number of people asking the question: ‘how long...

View Article

Image may be NSFW.
Clik here to view.

PDO Connection Class using singleton pattern.

This post will show you how to create a PDO connection class using the singleton pattern. Before jumping into the code, take a look at the following paragraphs if you are new to PDO or the singleton...

View Article


Image may be NSFW.
Clik here to view.

PHP: How to retrieve data from database & format as XML

Retrieving Data This tutorial will show you how to connect to a MySQL database, retrieve some data and finally how to format and display that data in XML format. The code will be written in OOP format,...

View Article


Image may be NSFW.
Clik here to view.

SOLID explained in simple terms with PHP examples.

Looking at SOLID – Explained It’s probably safe to assume that if you’re looking at this article, you have some understanding of what SOLID is. That’s my hope anyway, since this article is aimed at...

View Article
Browsing latest articles
Browse All 21 View Live