Hii ,
I am a beginner in PHP .I would like to know how one can execute a PHP script using XAMPP server ... ??
Any suggestions ... :)
|
Hii , I am a beginner in PHP .I would like to know how one can execute a PHP script using XAMPP server ... ?? Any suggestions ... :) | |||
|
feedback
|
|
Assuming Windows: Navigate to your "localhost" folder (usally): C:\xampp\htdocs Create a new folder called "ravi", and inside that folder create a file called: index.php Put all your PHP code in that index.php file and save the file. Then, after starting XAMPP, navigate to: http://localhost/ravi/ And you'll see your script running. Gav | |||
|
feedback
|
|
Of course your index.php should follow the php rules. For example your code has to start with
and end with You can use this tutorial http://www.w3schools.com/php/php_syntax.asp to get some information regarding php how-to | |||
|
feedback
|