Breaking News

How to Run your First Code in PHP



1 - Download and install XAMPP : XAMPP
2 - Open XAMPP and start Apache Server
3 - Go to My Computer > Local Disc C > xampp > htdocs 
4 - Create a folder and name "IDEAPhp" 
5 - Open Notepadd++ and write:

<?php
  echo "Congratulations, you wrote your first line of code in php";
?>

6 - Save as "IDEATest.php" inside  "IDEAPhp"  folder
7 - Open your browser and write: http://localhost/IDEAPhp/IDEATest.php 
8 - Congratulations you did it

Full Video:

No comments