Home » PHP (page 4)


PHP Parser Example

In this example we are going to learn how to parse xml (Extensible Markup Language) with PHP. For this example we will use: A computer with PHP 5.5 installed notepad++ 1. What is XML XML(Extensible Markup Language) is a markup language like html. It is a syntax for creating data representation languages. XML was designed to store and transport data, It ...

Read More »

PHP Text Area Example

When building forms, we use text type inputs when we want the user to provide some text. But, for when we expect larger, multi-line texts, we have available the text areas. In this example we will see how to deal with these. For this example, we will use: Linux Mint (17.03) as Operating System. Apache HTTP server (2.4.7). PHP (5.5.9). ...

Read More »

PHP Radio Button Example

Radio buttons are one of the basic HTML forms elements, similar to checkboxes but restricting the selection to an only choice. The most typical examples of this are the yes/no or gender questions, or any other type of quizzes. In this tutorial we will see how to deal with these with PHP. For this example, we will use: Linux Mint ...

Read More »

PHP class Example

In this example we are going to learn about classes in PHP, what they mean and how to use them. A computer with PHP 5.5 installed notepad++ 1. Objects in PHP A class is a collection of variables and functions working with these variables. To effectively use classes we need to familiarize ourselves with the term objects. Classes can be ...

Read More »

Getting Started With Laravel On Codeship

Laravel is one of, if not the most popular framework around for PHP today. Using GitHub as my source of truth, Laravel has 24,543 stars, 690 of which it has received this month alone. This is admittedly a simplistic, dare I say even rudimentary, measure of success or quality. But it does show both inertia and uptake. Given this inertia ...

Read More »

PHP Calendar Example

In this example we are going to build a web based dynamic calendar using PHP. A web based calendar can be used for events, upcoming product specials, memos, and anything else you can think of. The calendar is divided into two parts, the top part shows the current year and month, while the lower part shows each day of the month. ...

Read More »

PHP Authentication Example

In this example we are going to show you how to add an authentication system to your website. Authentication is an integral part of any web app that works with a login and registration system. Web apps like facebook.com, twitter.com and amazon.com use authentication to secure there users. Authentication is the process of determining whether someone or something is, in ...

Read More »

Creating a complete blog (CRUD) using MySQL and PHP

Blogs have become an essential component of  corporate websites. This is why every major and minor CMS now offer an integrated or independent blog as a default option. For many new developers, the functionality of the blogs remains a mystery. Blogs have become so tightly integrated with the overall structure of the CMS (especially WP, Joomla and Drupal) that it ...

Read More »

Php Cookie Example

Cookies are an important part of php and web development in general. Since http is a stateless protocol (This means that the server forgets each client after a connection), web developers need a way to store user preferences or allow their scripts to remember details about each client.  Cookies take on to solve this problem. (There are other solutions like ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook