Coding PHP does not work

Avatar
  • Answered
Hi, I am in the process of learning PHP and I wrote a simple line of code in http://www.bijouxmelodie.com/index.php

This is what the code returns: <$php echo "Hello World"; ?>

It does not run it displays the code I wrote, can you tell me what I did wrong in my setup? I put the index.php file in /home/bijouxmelodie/public_html/


Thank you for your time.

Ralph
Avatar
johnpaulb-imhs1
Hello Ralph, Thank you for your question regarding PHP coding not working. I tested on your server, and PHP is working with the following formatting:
&lt?php 
echo "Hello world!"; 
?&gt
Thank you, John-Paul