https://website.com.br/teste.php
<? echo('wewe'); ?>Result
<–?
echo(‘wewe’);
?–>
The result of this small script is shown the code commented and not compiled.
could anyone help?
Thanks
https://website.com.br/teste.php
<? echo('wewe'); ?>Result
<–?
echo(‘wewe’);
?–>
The result of this small script is shown the code commented and not compiled.
could anyone help?
Thanks
try <?php echo('wewe'); php?>
It worked.
What do I need to do to work in the format I mentioned. Because I use wordpress and there is no way to change the tags of all files.
Thank you very much for your attention and help.
resolved.
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It is
; generally recommended that <?php and ?> should be used and that this feature
; should be disabled, as enabling it may result in issues when generating XML
; documents, however this remains supported for backward compatibility reasons.
; Note that this directive does not control the <?= shorthand tag, which can be
; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off
; PHP: Description of core php.ini directives - Manual
short_open_tag = On
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.