First of all, You need to create PHP file in “xampp/htdocs” directory with dot PHP extension and write the simple syntax here.


//php code here

If you want run simple program in PHP I giving you simple example below you can write same in your file run on your browser. Be sure before run your program on browser your xampp software should be open and Apache and MySQL service should be started.

echo “hello Friends”;

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

Leave a Reply

Your email address will not be published. Required fields are marked *