Page 1 of 1

Php: Basic Review

Posted: Thu Nov 27, 2025 4:15 am
by The Jason

Code: Select all

<!DOCTYPE html>

<head><title>Basic Php Review</title></head>

<body>

<!-- basic-php-example.php -->

<?php

$age = 25;

$_name = "Joy";

$class_1st_period = "math";

echo "{$_name} who is {$age} has {$class_1st_period} at the start of the day.";

echo "$_name" + " " + "who is" + " " + $age + " " + "has" + " " + $class_1st_period + " " + "at the start of the day.";

# What a nice review.

// Yes it is.

/* I second
that. */

?>

</body>

</html>