Skip to content
Advertisement

PHP file is not running in XAMPP server [closed]

I am running the php file in localhost and the browser (chrome) is showing the blank page then i inspect the code and found the php code or part is commented automatically. What can I do I am novice so help me with this pleaseI am trying to run a single php file with code <? echo "as"; ?> but xampp server is showing blank page. Xampp server only loads index.php file. I am accessing or trying to run other php file on localhost server but it always shows blank page.

Advertisement

Answer

you should write PHP tags correctly

<?php echo "hello "; ?>

if it does not solve the problem please share xampp log with us and be sure there is no any error durring starting.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement