You need to find a good book on PHP to start with.
Open a text editor, such as notepad and start writing. I recommend editors such as gedit and notepad++, which both can be downloaded free from
http://sourceforge.net.
Once you've written your php code, save it to your htdocs folder with a php extension. Here's an example you can try.
PHP SCRIPT- Code: Select all
<?php
phpinfo();
?>
Now save that file as
phpinfo.php in
C:/xampp/htdocs if that's where you installed XAMPP.
Next, with Apache running, open your browser and type
http://localhost/phpinfo.phpYou should see your php information.
That's how you start and the rest you have to figure out on your own.
These questions are beyond the scope of the support offered by this forum, so if you don't get answers for anything else, don't be surprised. Sometimes people will answer anyways, but don't count on it.
I'm starting a new website for coding beginners and will gradually develop it, but if you want to check it out, go to:
http://www.myownserver.info/code/I will try and help you there, but I'm still pretty new to PHP myself, so I can only do what I know.
Enjoy!