Home » PHP (page 3)

PHP

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 »

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 »

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