g
Printer Friendly Version

editor  
BellaOnline's PHP Editor
 

An Introduction to phpMyAdmin for Databases

Once you are ready to use a database in your PHP programs, you have a few options available to you for creating and working with databases. You can write your own PHP program that will set up the database and its tables or you can use a previously written program that will do this work for you. There are several prewritten applications that you can use, but the one I will use in the next few tutorials is phpMyAdmin.

The reason that I have chosen to use this program is that it is available on most hosting servers and, in case your web hosting company doesn't have it, you can download a free copy from phpMyAdmin.net and upload it to your website. Yes, I said it was free. It is an open source program written in PHP and offered free under the GPL License. The latest version supports PHP 5 and MySQLR 4.1 and 5.0.

So what can this program do for you? It works via a web browser to act as a communication interface for creating and editing databases and database tables. All you need to do is enter the information into the web form and the program will execute the SQl statements for you. Below is a list of the most common jobs.
  1. Database - Create and drop (remove)

  2. Tables - Create, alter and drop

  3. Table Fields - Add, edit and delete

  4. SQL Statements - Execute SQL statements such as the dump (export) statement for easily making a backup of your database.




This site needs an editor - click to learn more!

PHP Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2013 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor