Home » PHP (page 3)


PHP GridView Example

In this example we will introduce the concept of gridviews. We will also learn how to display data in a gridview with PHP and HTML. For this example we will use: A computer with PHP>= 5.5 installed notepad++ Mysql Database A grid view or a data grid is a graphical control element that displays data in a tabular view. Gridview ...

Read More »

PHP Global Variables Example

In this example we will learn about PHP global variables, what they are and how to use them. Variables are an integral part of any programming language. They are used to hold information about the programming context. Depending on where the variable is declared, it may be visible or invisible in other parts of the script(the scope of the variable can ...

Read More »

PHP File Example

In this example we will learn about files and directories, we will also learn how to manipulate them with PHP. PHP allows you to work with files and directories stored on the web server. Files are persistent storage, they are stored on the hard drive and retain there data even after the computer is shut down. Directories are used to store files ...

Read More »

AJAX PHP Tutorial

AJAX is a technology that allows to establish asynchronous communication between the client and the server. That is, to allow a communication between the two points in the background. In this tutorial we will see how to use this technology, that involves JavaScript, which PHP in the server side. For this tutorial, we will use: Linux Mint (17.03) as Operating ...

Read More »

PHP Form Action Example

In this example we will learn how to create HTML forms and how to handle data transmitted through them with PHP. HTML forms allows user’s send data to a server or website. If a website needs to collect a user name, age or date of birth it’s most likely going to use HTML forms. Login and registration systems for websites ...

Read More »

Getting Started With Laravel On Codeship – Part II

In the first part of this series, I stepped through the basics of creating a continuous-deployment pipeline for a Laravel-based application using Codeship. We had a look at the application’s overall structure, its configuration, created database migrations, and created some acceptance tests. We finished up by working through an initial Codeship project creation, so that the test-suite could be run ...

Read More »

Creating a complete blog (CRUD) using MySQL and PHP – Part 2

In the previous part, we created a Post Class which will handle our article request and perform CRUD operation on it. In this tutorial, we are going to use the same class and will insert, update and delete articles. We are going to make forms for insert and update article, create a view for article and a page where all ...

Read More »

PHP Send Email Example

E-mail(electronic mail) has become an integral part of the internet. Approximately all tech savy people have an email address. If you have a facebook account, you sure have registered it with an email address. E-mails are simply messages that can contain text, attachments and they are sent through a computer network to individuals or groups of individuals. In this example ...

Read More »

PHP Checkbox Example

Checkboxes are those HTML elements that behave like toggle switches. So, unlike the radio buttons, checkboxes do not enforce to select an option from a group of options; we can select as much as we want. In this example, we will see how to deal with these checkboxes in PHP. For this example, we will use: Linux Mint (17.03) as ...

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