Lesson I

Week 1: Introduction to PHP

1.1 Overview of PHP: history and current relevance

PHP, initially standing for "Personal Home Page," is a server-side scripting language used for web development. Here's an overview of its history, current relevance, and an example of its usage:

History of PHP:

Current Relevance:

Example Usage of PHP:

Here's a simple example demonstrating PHP's usage in web development:

<!DOCTYPE html>

<html>

<head>

    <title>Hello PHP!</title>

</head>

<body>

    <h1>Hello, PHP!</h1>

    <?php

        // PHP code block

        $name = "John"; // Define a variable

        echo "Welcome, " . $name . "!"; // Output using echo

    ?>

</body>

</html>

PHP continues to be a vital part of web development due to its simplicity, powerful features, and widespread community support, maintaining its relevance in the rapidly evolving landscape of technology.