Hello! I'm new to php. Can someone solve this problem please!
When I save the code below with .php extention and run in firefox a blank page results
<? php
echo "I love using PHP!";
?>
When I run this code
<? php
echo "<p>I love using PHP!</p>";
?>
in firefox, the result is
I love using PHP!
"; ?>
How can I solve this problem? Entire php code after 'echo' get printed.
How can I prevent printing the unnecessary parts?
My OS is Vista Ultimate. I'm using XAMPP 1.7.0