Answer the question
In order to leave comments, you need to log in
How to set up php?
PHP scripts don't work when writing
<?
echo "......."
?>
<?php
echo "......."
?>
Answer the question
In order to leave comments, you need to log in
Never again use the short syntax <? ?>
And then, one day you can turn gray inadvertently.
In php.ini, change the value of the short_open_tag directive to On
But it is not recommended to do this, it is better to use <?php instead of <?
<?
echo "......."
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question