PHP Hello world Example
-
Ive been tryin for awhile to get a simple webpage to display when I run my project and just cant seem to get anywhere. Obivously Im new to PHP. Can someone post me a link to a Hello World project so I can get started? Just something that echos out some text on a webpage. Thanks
-
Ive been tryin for awhile to get a simple webpage to display when I run my project and just cant seem to get anywhere. Obivously Im new to PHP. Can someone post me a link to a Hello World project so I can get started? Just something that echos out some text on a webpage. Thanks
I am also new like you in php but may be this site can help you for improving your knowledge in php. http://www.w3schools.com/PHP/DEfaULT.asP
-
I am also new like you in php but may be this site can help you for improving your knowledge in php. http://www.w3schools.com/PHP/DEfaULT.asP
-
Ive been tryin for awhile to get a simple webpage to display when I run my project and just cant seem to get anywhere. Obivously Im new to PHP. Can someone post me a link to a Hello World project so I can get started? Just something that echos out some text on a webpage. Thanks
I recommend installing xampp (& then turn apache service on using xampp control panel). http://www.apachefriends.org/en/xampp.html When you've done that: -Go to localhost and run through basic security stuff. -Make a php file "index.php" with the following contents: <?php echo "hello world!"; ?> -Save that in your C:/xampp/htdocs/yourfolder or whatever open a browser and go to http://localhost/yourfolder/index.php = Hello world!
-
I recommend installing xampp (& then turn apache service on using xampp control panel). http://www.apachefriends.org/en/xampp.html When you've done that: -Go to localhost and run through basic security stuff. -Make a php file "index.php" with the following contents: <?php echo "hello world!"; ?> -Save that in your C:/xampp/htdocs/yourfolder or whatever open a browser and go to http://localhost/yourfolder/index.php = Hello world!
Hey Mar, Thanks for your helpful post, I installed this XAMPP thing and it's weird!! How do you get to the Apache screen and setup a virtual directory to host a website??
We will either find a way, or make one! (\ /) (- .-) C(''')(''')
-
Hey Mar, Thanks for your helpful post, I installed this XAMPP thing and it's weird!! How do you get to the Apache screen and setup a virtual directory to host a website??
We will either find a way, or make one! (\ /) (- .-) C(''')(''')
edit text file in apache/bin/conf. then restart apache service.