Thursday, March 28, 2013

Creating Websites with PHP

Small Business School - Creating Websites with PHP. Now this started many institutions are open computer courses programming (programming) to teach participants the course as a programmer. Among programming courses taught at the institute is PHP. Learning PHP, of course, can be done at the institute computer course or if you want a cheaper cost and fast, you can download the PHP tutorials on the internet and how it works.

PHP stands for Personal Home Page Tools is a commonly used programming language for web development and can be included in HTML (HyperText Markup Language). If you want to learn PHP, you can visit php.net website to get an idea about how it works and tutorial. PHP development team has released the latest edition of PHP is PHP 5.3.3. PHP development goals latter is done to increase the stability and security of PHP with over 100 bug fixes, some of which relate to the type of PHP 5.3.x security (security of the PHP 5.3.x).

Getting more PHP


Some PHP functions commonly used in the manufacture of the project are PHP functions related to the processing of data and which serves as the access of data in MySQL. Some common PHP functions include; function string, scrambles passwords, logic, date, repetition, session, and function expressions.

In creating a website, it takes two kinds of files, the main file and supporting files.

Main File

Some of the main file that needs to be known among the following :

1. add.php

Used to add data and also represents the SQL INSERT function.

2. update.php

Used to edit the data and also represented the UPDATE function in SQL.

3. delete.php

Used to delete data and also represents the SQL DELETE function.

4. search.php

Used to display data and also represents the SQL SELECT functionality.

Supporting Files


In the supporting files there are 2 types, namely: (1) supporting file a general nature and (2) supporting files that are mandatory.

1. general.php

Function for the variable of saving a general nature, such as server name, database name, user name, password and name.

2. order.php

Serves to store functions that are mandatory, including functions to create HTML pages, functions to identify errors in programs, and functions to return to the main menu.

Integrating PHP, MySQL, Apache


PHP programs can not walk alone in the web, so it requires a database and a web server. A database used is MySQL, while its web server is Apache. PHP program, MySQLdan Apache as its server will run on Linux.

Some basic operations are used in the manufacture of the database :
  1. Displays the data using SQL SELECT.
  2. Mengentry or store data using a SQL INSERT.
  3. Delete data using SQL DELETE.
  4. Editing and updating data using SQL UPDATE.

Share this

0 Comment to "Creating Websites with PHP"

Post a Comment

Thanks for comment here, admin.