Course Content
About Lesson

What is PHP?

  • PHP stands for Hypertext Preprocessor.
  • It is a server-side scripting language used for:
    • Creating dynamic websites
    • Handling forms
    • Working with databases (like MySQL)
    • Building web applications
  • PHP code is executed on the server, and the result (HTML) is sent to the browser.
PHP
<?php
echo "Hello, World!";
?>
  • Here, <?php ... ?> is used to write PHP code.
  • echo is used to output text to the browser.