PHP basic variables: PHP variable is an identifier. It will start with a dollar sign ($). No need to declare any variable before using, like other any programming languages.
PHP supports the following eight data types: boolean integer float string array object resource null Boolean PHP boolean data type is anyone of true or false. Both true and false data types are case insensitive. You can learn more about this in PHP control structure.
To run the PHP program we need the following things: PHP file Web server (eg, Apache) Database Web browser (eg, Mozilla, Chrome) We can install PHP and Apache as separately or install the “XAMPP” software which contains PHP, Apache and Mysql package. Here we have explained how to install PHP in your windows system using […]
PHP basic syntax consists of the following: PHP tags, Embedded with HTML, Terminated by semicolon and Comments. The file extension of PHP is .php. Every PHP programming file should have the following two tags: Open tag – <?php and Close tag – ?>
What is PHP The abbreviation of PHP is Hypertext Preprocessor. PHP is a server side scripting language. It is an open source, easy programming language; and anyone can learn PHP and implement it in your code. Using PHP people can build a robust, dynamic website. PHP compatible with all major databases such as Mysql, Oracle. […]