Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What should be the correct syntax to write a PHP code?

a) < php >
b) < ? php ?>
c) <? ?>
d) <?php ?>

Answer: c
Explanation: Every section of PHP code starts and ends by turning on and off PHP tags to let the server know that it needs to execute the PHP in between them.

Join The Discussion