PHP

Import Database Tables Using PHP/MySQL

Submitted by argie on
This tutorial will teach you on how create a script that restore or import database tables using PHP. The feature of this tutorial is it allows the user to restore or imports database backup without using the phpmyadmin panel. To understand more about this tutorial follow the steps bellow

Creating Our Database

First we are going to create our database which stores our data. To create a database: 1. Open phpmyadmin 2. Then create database and name it as "tutorials".

Creating Our Form

The code bellow will provide us the form where we can attach our sql file.

Insert multiple data from your database using While Loop in PHP and MySQL

Submitted by ronard on
Hi sourcecodester, Do you wish to insert multiple data to your database using While Loop? Will PHP and MySQL can do that. Just select the table you want to insert in another table then loop it using "While Loop". And just define a variable you want to insert to another table and call it to your insertion query. Then run it to your web browser. The multiple data will automatically add to your table

Online Catering Reservation Using PHP/MySQL

Submitted by jery on
This complete system will help you to create a online catering reservation using PHP PDO query. the feature of this system is it allows you to backup and restore database without using phpmyadmin windows. Others feature of this products includes, it can generate reservation details report, can assign a catering team in each reservation, secure login, filter user based on their rules and manage

Count The Number Of Rows In The Database Table Using PHP/MySQL

Submitted by argie on
This tutorial will teach you on how to count the number of rows in your database table using PHP PDO query. to start with, follow the steps bellow.

Creating Our Database

First we are going to create our database which stores our data. To create a database: 1. Open phpmyadmin 2. Then create database and name it as "tutorial". 3.

Forum Tutorial - MOTD and Banning Messages

Submitted by Yorkiebar on
Introduction: This tutorial is going to be covering message of the days and banning messages. Database Setup: First we are going to set the database up ready for storing our information, create a new table named "reasons", then give it the following columns of structure: id - INT - 5 Length - Primary Key - Auto Increment (AI/A_I) use - VARCHAR - 255 Length message - VARCHAR - 255 Length additional - VARCHAR - 255 Length We are going to make the use value "motd" for Message of the Day, or "ban" for the banning message.

Multiple Queries in One Table using PHP and MySQL

Submitted by ronard on
Hi, I would like to share this script. For those who are novice in PHP and MySQL. This script will teach you on how to select two tables/multiple tables from your database in one table in html. I used the ID of each student in "tb_students" table and to call thier grades in table of grades/tb_grades. So that the grades are display together with the student info. Hope this will help you to you. For

Currency Converter using OOP support in php 5.4

Submitted by seniox.kalvio on
This an updated currency converter using the current php framework of 5.4 supporting all the functionality of Object Oriented Programing(OOP),The advantages of using this development technique are too many namely re-usability of the code.Have fun as you try this out.My email is [email protected]