|
Here we would like to show the very basics of PHP in a short, simple tutorial. This text only deals with dynamic WebPages creation with PHP, though PHP is not only capable of creating WebPages.
PHP-enabled web pages are treated just like regular HTML pages and you can create and edit them the same way you normally create regular HTML pages
Contents
Interoduction:- PHP is a powerful server-side scripting language for creating dynamic and interactive websites.PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. PHP is perfectly suited for Web development and can be embedded directly into the HTML code.The PHP 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:- Variables are used for storing values, such as numbers, strings or function results, so that they can be used many times in a 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:-Here we Discuss the Conditional Programming concepts in PHP. If-else condition,then statement and their syntax.
The if, elseif and else statements in PHP are used to perform different actions based on different conditions.
Loops and Arrays:- Here we Discuss the Looping And Arrays concepts in PHP.Looping statements in PHP 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:- PHP allows you to send e-mails directly from a script.
We discuss some concepts here about this.
PHP With Forms:- Here We apply the knowledgethat we have obtained thus far and put it to real use. A very common application of PHP is to have an HTML form gather information from a website's visitor and then use PHP to do process that information. Final Notes:- It contain 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 career you will be using the echo function more than any other. |