This document provides an introduction to the internet, world wide web, and basics of PHP web development. It discusses what the internet and www are, how to install XAMPP for local web development, why PHP is a popular server-side language, basic PHP syntax like echo and variables, and operators and conditional logic like if/else statements.
This document provides an introduction to the internet, world wide web, and basics of PHP web development. It discusses what the internet and www are, how to install XAMPP for local web development, why PHP is a popular server-side language, basic PHP syntax like echo and variables, and operators and conditional logic like if/else statements.
This document provides an introduction to the internet, world wide web, and basics of PHP web development. It discusses what the internet and www are, how to install XAMPP for local web development, why PHP is a popular server-side language, basic PHP syntax like echo and variables, and operators and conditional logic like if/else statements.
and basics of PHP Internet – Global system of What is interconnected networks Internet and www – Collection of World Wide interconnected documents and Web other resources Web Application Development On windows WAMP or XAMPP can be installed Web Server – Apache XAMPP Server Side Language – PHP Installation DBMS – MySql PhpMyAdmin Open Source – Linux – Apache - PHP – MySQL One of top 5 most popular languages Small – medium – enterprise level Why PHP ? applications Server Side Scripting Command Line Available for Windows, Linux, Mac Relational / No SQL Databases MySql, Oracle, MSSQL, mongoDB,PostgreSql. <?php echo Hello world “Hello World”; ?> <html> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line Test PHP </p> <?php echo “This is a PHP line”; phpinfo(); ?> </body></html> <html> <head> <title>Greetings</title> </head> <body> <h1>Greetings</h1> <p> Variables <?php $person = "Ian"; $Person = "Dominic"; echo "Hello $person and $Person"; ?> </p> </body> </html> <?php $a = 3; $b = 5; Operators $c = 8; $d = 15; echo ($d - $a) + $b * $c; ?> <?php $a = 5; $b = 10;