Basic Php TutorialsBasic PHP tutorials and for beginners..What is Php- April 15, 2005 Php is a server-side HTML embedded scripting language, for creating dynamic websites, it is free and provides full suite of tools to developers for building dynamic websites.Php stands for PHP: Hypertext preprocessor and it's Open Source Software (OOS)Php scripts are executed on the server, Which means users can not see code source from their browser.Php supports many powerful databases such as MySQL, Oracle, Sybase, Solid etc.Php is server-side scription language, simile to ASP.The main...http://phpstreet.blogspot.com/2007/04/what-is-php.html Install Php on IIS- April 14, 2005 Ok, before you should start writing php scripts, you must have a php server running. If you are running on Windows, You can install php for testing purpose.How to Install PHP on Windows.Please remmember PHP will not work on 16 bit platforms such as Windows 3.1. There are many ways you can install php in your windows. You can refer to This site that shows you nicely how to install Php, MySQL and Apache Server. Or you can follow PHP online guide to installation, which covers...http://phpstreet.blogspot.com/2007/04/install-php-on-iis.html First PHP Script- April 13, 2005 Hello World phpThis is the most common thing you do when you learning PHP. first and foremost you need to know that php blocks starts with . Similar to Html Hello Which makes Text bold like this Hello. Php blocks can be placed anywhere in your Web documents, aslong as your your php file is .php extension.Let's create our first php file. Open test editor such as Notepad.. or any other web editor programs such as dreamweaver. but avoid using MS word for god sake... duh!Now write the following...http://phpstreet.blogspot.com/2007/04/first-php-script.html PHP Operators- April 12, 2005 PHP OperatorsBelow listed in the tables are the php operators, it is important that you memorize at least few of them. Arithmetic Operators Operator Description Example Result + Addition x=2x+2 4 - Subtraction x=25-x 3 Multiplication x=4x5 20 Division 15552 32.5 % Modulus (division remainder) .http://phpstreet.blogspot.com/2007/04/php-operators.html Php IF & ELSE- April 11, 2005 Php IF & ELSE StatemmentsPhp if, else statements in PHP can perform different actions, based on different conditions.That means, sometimes you may want to show "bye, have a nice day" instead of "hello how are you" in user's browser.syntax :if (condition)Code.....elseCode.....Example :$val = 1;If ($val == 1)echo "value is one";elseecho "value is not one";PHP IF & ELSEIF Statements.Php elseif Statements is same as elseif statements. But this time you can extend the limit of your conditions.Syntax.http://phpstreet.blogspot.com/2007/04/php-if-else.html |