Posts

PHP VARIABLE TYPES

Image
PHP VARIABLE TYPES PHP Variables are used to store data information in the middle of  a PHP program. What should we know about the Variables? All the Variables are using in PHP programs are denoted with the dollar sign($). The Value of a Variable is the value of its  most recent assignment. Variables are assigned with = operator, with variable on the left side and the expression to be evaluated on the right side.  Variables can be declared before assignment but do not needed. Variables do not have intrinsic types which a variable does not know whether it will be used store number or a string of characters.  Variables used before they are assigned default values.  PHP does good job automatically can convert types from one another when it is necessary. PHP variables are perl-like.  PHP DATATYPES In PHP, there are total 8 datatypes as, Integers - are the whole numbers without a decimal point like 4567 Doubles - are floating...

PHP BASICS

BASICS:          PHP  is a  server-side scripting  language designed for  web development  but also used as a  general-purpose programming language . PHP originally stood for  Personal Home Page ,   but it now stands for the  recursive   acronym   PHP: Hypertext Pre processor.         The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications.        PHP code may be embedded into  HTML  code, or it can be used in combination with various  web template systems , web content management systems, and  web frameworks . PHP code is usually processed by a PHP  interpreter  implemented as a  module  in the web server or as a  Common Gateway Interface  (CGI) ex...