Part-7 Prac 2: Study and demonstrate php syntax, data type, variable, function, array, superglobal variable and form (Self-learning exercise using this link: https://www.w3schools.com/php/).
What is PHP? PHP is an acronym for "PHP: Hypertext Preprocessor" . PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP is free to download and use PHP is an amazing and popular language! It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)! It is deep enough to run the largest social network (Facebook)! It is also easy enough to be a beginner's first server side language! Syntax : A PHP script can be placed anywhere in the document. A PHP script starts with <?php and ends with?> <?php // PHP code goes here ?> Note: PHP statements end with a semicolon (;). Data type : Variables can store data of different types, and different data types can do different things. PHP supports the following data types: String Integer Float (floating point numbers - also called dou...
Comments
Post a Comment