javascript
Brief description  about Online courses   join in Online courses
View Clement  Osei Tutu 's Profile

Please my wamp server is not working..help if any

Hi Sir,

Please i just installed wampserver but it seems not to work for me.Now when i type http://localhost or http://localhost/ on mozilla firefox,it displays blank page.i have even went wampserver forum but their help is getting me started.

Now i have this code which i saved it on www root directory folder..here is the code

<?php
$my_string = "Hello Bob. My name is: ";
echo "$my_string Bobettta <br />";
echo "Hi, I'm Bob. Who are you? $my_string <br />";
echo "Hi, I'm Bob. Who are you? $my_string Bobetta";
?>
..now when i saved this in pdp estension and copy and past it on a www directory and when left-click and use open with and then choose mozilla firefox to preview it,it display the original code above.

Please is anyway i can get you on google chart or skype to help me to solve this wampserver problem to continue the course.

I plead you and bow down on you to help sir.

Thanks.Clement Osei.
Asked by Clement Osei Tutu | Mar 17, 2011 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
when you type localhost and blank page is coming that means your wamp server is working fine.
your program is not correct it should be like

<?php
$my_string = "Hello Bob. My name is: ";
echo $my_string ."Bobettta"." <br />";
echo "Hi, I'm Bob. Who are you? ".$my_string." <br />";
echo "Hi, I'm Bob. Who are you?.". $my_string."Bobetta";

?>
Mar 29, 2011