Posts

PHP lecture 2....

Image
>> VARIABLE IN PHP :---    Variables are containers which is used to store information. Types of Variables:-- 1. Local Variable. 2. Global Variable. 3. Static Variable. >>VARIABLE DECLARATION :-- In PHP, variable names begin with " $ " sign, followed by a name.  Ex :-  $roll, $price, $name. >> RULES FOR DECLARING VARIABLES :-- 1.  Variable starts with ' $ ' sign. 2.  Variable name only starts with a letter, an underscore( _ ). 3.  Variable name cannot start with a number. 4.  It is case sensitive. 5.  Do not use predefined constant name.  For ex :-  PHP_VERSION, PHP_OS, etc.... 6.  Do not use reserved keywords.  For ex :-  else, if, etc.... >> VARIABLE INITIALIZATION :--   >  PHP can store all type of data in variables. Before using  a variable in PHP, we have to assign a value to it, so that PHP will create that var...

What happened to PHP 6

Image
One of the key features planned for PHP 6 was support for unicode, meaning that PHP 6 would be able to work natively with any language. This would be a great popular programming tool. Unfortunately, implementing Unicode support went from being complicated to quite difficult, and the developers behind the language tabled development of PHP 6. Not all was lost, however; some of the features planned for PHP 6, such as support for namespaces (an object-oriented programming concept), were added to PHP 5.3. When it was time to release the next major version of PHP, it was decided to name it PHP 7 to avoid confusion with the PHP 6 version that was started but never completed.

All About Php.......

Image
  >> What is PHP? 1. PHP is a open source server - side programming language that is specially suited for web development and can be embedded into HTML. 2. PHP stands for Hypertext Preprocessor but it's original name is Personal Home Page. It was created by Mr. Ramsum Lerdorf in 1994. 3. PHP file extension is (.php) . 4. PHP is compatible with almost all servers Apache, IIS etc. 5. PHP runs on various platforms like Windows, Linux, Unix, Mac OS etc. >> What we can do with PHP?   We can…….. 1          .      Create database application. 2          .       Generate dynamic page. 3          .       Handle button clicks, radio button. 4          .       Make Cl...