javascript
Brief description  about Online courses   join in Online courses
View asha elizabeth roy 's Profile

PHP

Sir,

Somehow i installed the wamp server, but i am not understanding how to use it. I had installed it into another folder D. And it also contains www folder and in that i saw one index.php.... So i opened that page in notepad and tried to do the example which you have shown in 1st chapter of PHP.

<?php
echo "Something is better than nothing";
?>

<?php


I also tried the example:

<HTML>
<HEAD>
<?php
$username = "Elephant";
?>
</HEAD>
<BODY>
<?php
print("$username<BR>");
?>
</BODY>
</HTML>


And then i saved it in that notepad and then i tried to open it in browser. But i am not getting the output. I am getting the code itself in the browser. Whatever code i write and save in notepad, that same code is coming in browser. I cant understand how to correct it. Please do help me. I am doing in offline mode. Plz help.........I am waiting for your reply since 2 weeks.........Please respond.........
Asked by asha elizabeth roy | Feb 5, 2013 |  Reply now
Replies (0)