Please read the guide .
Please answer the question in detail
A PHP script can be placed anywhere in the document.
A PHP script starts with <?php and ends with ?>:
<?php
?>
The default file extension for PHP files is ".php".
.php
In PHP, keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined functions are not case-sensitive.
if
else
while
echo
$color
$COLOR
$coLOR
Doubtly is an online community for engineering students, offering:
Get the pro version for free by logging in!
5.7k questions
5.1k answers
108 comments
554 users