Tuesday, November 27, 2012

Input Data in Database with Form Part 2

Continuation of Input Data in Database with Form Part 1...

Input Data to Database with Form

Follow steps below to make form for input data into database. Let's follow steps.

1. Write script below use your text editor to make file connection to connect to localhost and select database and then save with name connect.php.

Input Data in Database with Form Part 1

This time we will discuss about input data in database with form. Before that we have to know what database, Database is a place to store the data entered. In here we will use MySQL as Database management system (DBMS). Usually MySQL is included in the package xampp. To run MySQL in xampp we just need to click the start button on the control panel mysql, until the status is running, Let's see picture below.

Sunday, November 25, 2012

Form Upload Image

Now we will make from to upload image. You must have often upload your pictures to social network or to other website. Here we will learn make form for upload image. Let's follow steps below.


The first write script below at your text editor. And then save with name form_upload.php. Let's see script below.

Make Form Part 2

Continuation of Make Form Part1...


Make file to catch data from Form at file form_biodata.php, The first write script below in your text editor and save with name process_form.php, this name must be same with action of from at file form_biodata. Let's see script below.

Friday, November 23, 2012

Make Form Part 1

At this time Let's we make simple form. At my pervious article that is PHP and Form HTML, i have discussed about Form, and now we trying to make a simple form and i will give explanation of script below. Let's follow the steps below.


Thursday, November 22, 2012

PHP and Form HTML Part 3

Continuation of PHP and Form HTML Part 2....


Elements of Form HTML

Tehre are 11 elements, they are:
1. Text Fields
2. Password Fields
3. Hidden Input Element
4. Check Box
5. Radio Button
6. Push Button
7. Submit Button
8. Image Submit Button
9. Text Area
10. Reset Button
11. Select

Wednesday, November 21, 2012

PHP and Form HTML Part 2

Continuation of PHP and Form HTML Part 1....

2. POST
Post is a method to send data use form. Different with Get method , Post method sending confidential data, like password at login in a websit or the other. Let's see example script of Form with Post method.


Tuesday, November 20, 2012

PHP and Form HTML Part 1


Form is a input data in web page. And then data will be sent to server and stored in database and then next will be processed. Form have attribute methode which is use to determine how to sent a data. there are 2 method, they are POST and GET. Below is a basic script of form.


Sunday, November 18, 2012

Array at PHP part 2


Continuation of Array at PHP part 1....

Access Array Values

1. Index Numeric 

There are 2 ways to access array value with index numeric, they are:

a) Direct access,  we can directly access array by writing directly array name and index as example below.

Array at PHP part 1

Array is a collection of some of the data stored in a variable.  Each data in array has a index as a
identifier. Array can accommodate more than one value. Each member of array is referred to as elements.
For example we want to save brand name of  motorcycle into the variable $brand_motor. There are 4 brand name they are Honda, Yamaha, Suzuki and Kawasaki. Let's see illustration of variable $brand_motor  below.



Saturday, November 17, 2012

Looping at PHP

There are 4 looping at PHP, they are:

  1. while loops
  2. do...while loops
  3. for loops
  4. foreach loops

Friday, November 16, 2012

Branching at PHP

There are 4 branching at PHP, they are :

  1. if statement
  2. if...else statement
  3. if...elseif...else statement
  4. switch statement

Tuesday, November 13, 2012

Operators of PHP

Operator of PHP is not different with operator of another programing language. Let's see operators of PHP below.
  1. Logic Operator
  2. Arithmetic Operator
  3. Assignment Operator 
  4. Comparison Operator 

Sunday, November 11, 2012

HTML tags and functions

In my posting at this time i wont to  tell some HTML tags which is i know. Maybe is not all HTML tags which is i written at here, but i hope my article can help my friends which is need. Before that, i tell that not all the partner of HTML tags as opening tag and closing tag at the list of HTML tag below, i have give information for tags which is not use closing tag. Let's see the list of HTML tags below.

Thursday, November 8, 2012

Glance about CSS (Cascading Style Sheet)



CSS is mechanism dividing between presentation and content on HTML document. CSS can convert into view at HTML become better and more beautiful. CSS manager all of content which is shown on HTML as text, picture, color, font, and all of size and many more. HTML and CSS is a partner which is not separated, because combination of both website which is makeed will become is so art and better, so it can interesting web visitors.

What is PHP (PHP: Hypertext Processor)




PHP is a scripting programing language which is used to make website which dynamic content or to make another web application. PHP can interact with database, file, directory, even with operating system. PHP is include into group interpreter software, is translate line by line script at program (without compile) and then execution the program.

What is HTML (HyperText Markup Language)


HTML is a tag marker language (markup) at a text document, not a programing language. HTML is used to build a website page which in it we can insert php script, javascript, or another web programing. below is standard script from HTML, see the picture below.

Monday, November 5, 2012

Starting To Learn PHP

Before we start to make a web with PHP , we must know what is PHP. You can read my previous article which is discussed about What is PHP, click here. After we know what is PHP we will more easy to learn it, because we know basic of PHP. Let's see discussion below.