Page 1 of 1

Php: Ending for Lines of Code

Posted: Sun Aug 03, 2025 5:43 pm
by The Jason

Code: Select all

<!DOCTYPE html>

<html>

<body>

<h1>php Examples</h1>

<?php

# Lines of code in Php are ended with semicolons, just like in JavaScript

# See the following examples:

$_car = Chevy;

echo "Some people like Chevy.";

?>

</body>

</html>