Friday, July 10, 2009

For Loop in PHP

Here is a sample of using a for loop in a PHP language.

Code:
Output:

Friday, July 03, 2009

While Loop in a PHP

This is a tutorial on how to use a while loop in a PHP. The output will be the same if you were going to use a for loop, they only differ in writing the codes and especially the concept of each loop and how this loop performs its action when the programmer run his/her program.

Here is a sample code and output on how to use a while loop in a PHP.

PHP Code:

Sample Output:






Friday, July 03, 2009

using for loop to Display numbers from 1 to 5

Here is some tutorial on how to use for loop in a PHP. This tutorial only allow to print the number from 1 to 5.

PHP code:


Output:



Tuesday, June 30, 2009

What is PHP?

PHP stand for PHP Hypertext Preprocessor. PHP also known as a recursive acronym would you want to ask why recursive? It is because recursive is an acronym in which the first letter of the first word represented but the acronym is the acronym itself.

PHP also known as an open source, server side and a HTML embedded scripting language. When we say embedded scripting language it is a language in which it is a kind of language in where HTML and PHP codes can be combined. It is a server side client, because PHP is being process in the server and not in the browser. E,g A user request a page. As you notice that when you view source the page and then only pure HTML code are you going to see, it is because PHP process first in the server and the server will only send to the user or to the client the HTML form.

Thursday, June 18, 2009

Learning PHP

Well I am so eager now to learn PHP Mysql in our Web Development 2. I know that it will be more interesting subject that I ever had.

Wednesday, May 27, 2009

HTML Table Tutorials

In this article we will know how to create a simple table in HTML without using any CSS but HTML tag attribute only. Try to observe the given code below and its output and then try using the notepad.

HTML Code:


Output:

Wednesday, May 27, 2009

HTML Text Formatting

In this article we will know on how to format all the content in our web page. We can add some color, can make the font bigger or smaller. So try the given code below and observe its output.

HTML Code:



Output:

This will be the result if you were going to follow the code above the output.

Wednesday, May 27, 2009

HTML Images

The nest tutorial would be on how to put an image on your HTML. Simply , first you have to choose an image and let be the width and the height of the image is 100x100 pixels.


HTML Code:


Output:

This is the result of the HTML that we made in the upper part of this tutorial. Just follow the HTML in the upper part of this article and you will surely come up with this result.

Tuesday, May 26, 2009

How to make a simple link in HTML

This would be the second part of our tutorial on how to create a simple link in our HTML. As we all know that link are every where in a website. Website will not work without its link, because we use link to call the another page in which the user wanted to see. So here are some examples on how to create a simple link in an HTML.

HTML Code:


Output:

Sunday, May 24, 2009

Basic HTML Headings Tutorials

Our tutorial about HTML will start from the very basic. First that we were going to do is that on how to manipulate and heading by using only HTML and not bu using a CSS. Here are some Code and output for you to know.

HTML Code:

Output:


This would be the possible output if you were going to follow the HTML above. You can either use Notepad, Notepad++ or dreamweaver for making the HTML.

Sunday, May 17, 2009

BCD Counter