PHP

PHP Source Code

Free PHP Source Code. Download from a vast collections of free PHP source code below. You can modify and integrate it in your own personal use. Just give a little credit to the original author whenever you use it on your system's project.

Simple Running Time using PHP and Javascript

Submitted by nurhodelta_17 on
This tutorial will show you how to create a running time using PHP and Javascript. This tutorial does not include a good design but will give you knowledge on how to create a simple running time. Creating our Time Script This script creates our running time. In this script, we have also included a small PHP code to show our running time. So, for us to show the time in our desired page, we just

Easy and Simple Edit/Update MySQL Table using PHP

Submitted by nurhodelta_17 on
This tutorial will show and give you knowledge on how to edit/update MySQL table using PHP. Is this tutorial, I'm gonna show you how to edit using 3 methods namely MySQLi Object-oriented, MySQLi Procedural and PDO. Creating our Database First, we're going to create a database that contains our data. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "edit". 3. After creating

Selecting MySQL Table Using Datatable in PHP

Submitted by nurhodelta_17 on
This tutorial will show you how to select mysql table with the use of data table. Datatable is an organize presentation on database table. It is often used in websites and php program because it has an in-built function like the search and pagination. Creating our Database First, we're going to create a database that contains the user data. 1. Open phpMyAdmin. 2. Click databases, create a database

Easy and Simple Adding/Inserting Data into MySQL Database using PHP

Submitted by nurhodelta_17 on
This tutorial will show you an easy and simple way in adding/inserting data into mysql database using 3 methods which are MySQLi Object-oriented, MySQLi Procedural and PDO. This tutorial does not include a good design but will give you knowledge in adding/inserting data into mysql database using the 3 methods. Creating our Database First, we're going to create a database that contains our data. 1

How to Dynamically Get the Value of a Select Tag from MySQL Table Using PHP

Submitted by nurhodelta_17 on
This tutorial will help you on how to dynamically get the value of a select tag from MySQL Table using PHP. This tutorial will not teach you on how to create a good design but rather to give you knowledge on how to create a fully functional select tag. Creating our Database First, we're going to create a database that contains the data that we want to show as options in our select tag. 1. Open

How $_GET Variable Works and How to Use It in PHP/MySQL

Submitted by nurhodelta_17 on
This tutorial will show you how does $_GET method works and how to use it. $_GET is a kind of method in getting a particular value in the webpage's url. This will be possible by sending this particular variable in the url of the "go to" page. In this tutorial, I will show you how to send a value in your url and getting that particular value via $_GET method. Creating our Database First, we're

Joining Table using Left Join PHP/MySQL

Submitted by nurhodelta_17 on
This tutorial will show you how to join 2 tables using left join in PHP/MySQLi. Joining tables is used to make 2 or more tables work as 1. In this tutorial, I will give you an idea how left join works and how to join to tables. Creating our Database First, we're going to create a database that contains the user data. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "join

How Session Works and How to create it PHP, MySQLi

Submitted by nurhodelta_17 on
This tutorial will teach you basic knowledge about php session and an example on how to create one. A session is a method used to store data in a variable that can be used in all pages in a website/php program. Most of the time, sessions are used to determine the user that access that system. In this tutorial, I will give you an idea on how to create a session to determine the user upon login

How to Create a Simple Login with Validation PHP/MySQLi

Submitted by nurhodelta_17 on
In this tutorial will show you how to create a simple login with user input validation using PHP/MySQLi. This tutorial does not include a good design but will give you an idea on how to create a simple Login using PHP/MySQLi. Creating our Database First, we're going to create a database that contains the user data. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "login". 3

Lotto Number Generator

Submitted by nostradamus1566 on
This is a simple quick pick lotto number generator designed as an experiment to learn more about PHP programming. You can select how many balls are in the game, for example 6. Then select a range of numbers, for example minumum =1, maximum = 36. You can increase the range of numbers. Then click the "Generate Lotto Numbers" button to see what numbers the computer chose.