|
In Php tutorial we would like to show the very basics of PHP scripting language in a short, as simple Php tutorials. This text only deals with dynamic Web Pages creation with PHP, though PHP is not only capable of creating Web Pages shown by this Php tutorial.
PHP-enabled web pages are treated just like regular HTML web pages and you can create and edit them the same way you normally create regular HTML pages.
Contents
Interoduction:- PHP is a most powerful server-side scripting language for creating dynamic and interactive websites. PHP is widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. PHP is perfectly suited for Web site development and can be embedded directly into the HTML code. The PHP script syntax is very similar to Perl and C. PHP is often used together with Apache (web server) on various operating systems. It also supports ISAPI and can be used with Microsoft's IIS on Windows.
Displaying Information & Variables:- The variables are used for storing values, such as numbers, strings or function results, so that they can be used many times in a PHP script. If you have never had any programming, Algebra, or scripting experience, then the concept of variables might be a new concept to you. A detailed explanation of variables is beyond the scope of this tutorial, but we've included a refresher crash course to guide you.
Conditional Programming:- Now we discuss the Conditional Programming Concepts in PHP script. If-else condition, then statement and their syntax used.
The if, elseif and else statements in PHP script are used to perform different actions based on different conditions.
Loops and Arrays:- In this php tutorial we discuss about the Looping and Arrays concepts in PHP scripting language. Looping statements in PHP script are used to execute the same block of code a specified number of times. An array is a data structure that stores one or more values in a single value. For experienced programmers it is important to note that PHP's arrays are actually maps (each key is mapped to a value).
E-mail With PHP:- This PHP tutorial allows you to send e-mails directly from a PHP script.
We discuss some concepts here about this.
PHP With Forms:- We apply the knowledge that we have obtained thus far and put it at real use. It is a very common application of PHP is to have an HTML form to gather information from a website's visitor and then use PHP script to do process that information. Final Notes:- This PHP tutorial contains the information about Print, Echo and HTML and other related PHP topics
PHP function echo is a means of outputting text to the web browser. Throughout your PHP web site development career you will be using the echo function more than any other function. |