Here is a sample of using a for loop in a PHP language.
Code:Output:
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:
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.
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.
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.
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:
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.





