So lets get our hands dirty;)
First of all you will need some editor to write PHP in. I recomand notepad++, but u can use whatever u want. Second u will need to download XAMPP because you have to have a server to get your code running. This is the link http://www.apachefriends.org/en/xampp.html after instalation, open Controll Panel and activate Apache and MySQL. Now u are ready for first line of code ;) . Open your editor , and start typing. First u have declare that we are using PHP code, so the start of PHP script looks like < ? php and the end ? >. Ok if u are following me write inside this line of code : phpinfo(); . That should look like < ? php phpinfo; ? >, Than save the document into htdocs in XAMPP folder as myfirst.php. So let me explain the code , phpinfo() is complex function that return information about php installed, and ; is used to end commands. If u want to see your application working , open your browser and type : http://localhost/myfirst.php and you will see the result.
One more note : I will post one tutorial each day, so after a month we will make CMS page ;) I hope you’ ll enjoy it .. See a