Home » PHP (page 2)

PHP

PHP Export to Excel Example

It can become neccessary to export data to a browser in excel format or just create an excel document from data received from a database or any other source. In this example we will create a (PHP) web app that exports data to excel. For this example we will use: A computer with PHP >= 5.5 installed notepad++ Microsoft Excel ...

Read More »

PHP, Ajax and Mysql Example

Ajax is a powerful web technology, it allows a web app’s communication with a server, without having to refresh the browser. MySQL is a relational database that allows users to store and retrieve data. It is a free available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). According to the official PHP website, PHP (recursive ...

Read More »

PHP File Upload Example

File uploads has now become an integral part of many, if not all social apps (both web apps and mobile apps). The ability to view, upload and share pictures, videos and other media types are components of a viral social app. For this singular reason most web masters and app developers incorporate file uploads into the social apps they develop. ...

Read More »

PHP Connect To Mysql Tutorial

In this example we will learn about database systems, mysql and how PHP scripts can talk to a Mysql database. For this example we will use: A computer with PHP >= 5.5 installed Mysql server notepad++ Phpmyadmin: This is not compulsory. (All the codes in this example will work correctly even without it). If you want a graphical user interface ...

Read More »

PHP Base64 Encode/Decode Example

Encoding in base64 simply involves converting binary data to ASCII text. Encoding in base64 is done so as to easily and effectively transfer binary data over a network. One of its use case is transferring data in emails. In this example we are going to learn how to encode and decode data in base64 using PHP. For this example we ...

Read More »

PHP Beautifier Tools Example

In this example we are going to examine some tools that will beautify or properly format PHP source code. It can become neccessary to do this, if source code has been minified or wrongly formatted. Below we present some other reasons you might need a source code beautifier: You’ve downloaded an unreadable script: You are about to develop a particular app ...

Read More »

PHP Array to String Conversion

Arrays are very popular in programming languages, as they are widely used by programmers to perform different tasks. Arrays are part of the first few topics every new developer or programmer learns. In this example we will learn about arrays, what they are, how to use and manipulate them. For this example we will use: A computer with PHP>= 5.5 installed ...

Read More »

PHP Web Development Tools List

Every PHP developer needs the right tools to become a PHP ninja (guru). In this example we will introduce some tools, which will make PHP web development a whole lot easier (especially if you are new to PHP). Table Of Contents 1. Introduction 1.1 Wamp Server 1.2 Xampp Server 1.3 Notepad++ 1.4 Palapa Server 1.5 Droidedit 1.6 Stack Overflow 1.7 ...

Read More »

PHP Form Dropdown Example

In this example we will learn how to handle data from a drop-down-list in HTML with PHP. For this example we will use: A computer with PHP>= 5.5 installed notepad++ We will show you how to add select boxes and multi-select boxes to a form, how to retrieve the input data from them and how manipulate the data. 1. Getting ...

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