Lesson 1: If you ask for coding help, it’s advisable to actually show that code instead of saying “I have this code or that code” - Can’t help you much if we can’t see the problem.
[code]
<?php
echo "This is an echo
";
print "This is a print";
?>
[/code]
As a test, to ensure PHP is working properly, create a new file within your root directory. Call it whatever you want, but make it a php file.
Copy/paste this line into it:
[php]<?php phpinfo(); ?>[/php]
Save it and then view it in your browser. If PHP is working you should see a ton of details. If not, you should get a blank page.