Portal Home > Knowledgebase > Articles Database > What is the best way to learn PHP.


What is the best way to learn PHP.




Posted by zohail, 11-22-2011, 01:55 PM
Hello to everyone. I am new user at WHT. My question to all the WHT users is that I want to learn PHP. I know about basics statements like if,case,for and while. Please refer any books and other online tutorials. Looking forward for your replies

Posted by iLoveHosting-UK, 11-22-2011, 04:50 PM
The best tutorials that I have found are from a university student. Search phpacademy in youtube. Good Luck! - Ashton

Posted by PKHost, 11-22-2011, 05:05 PM
Learning PHP varies for each individual person, I learn't it by just thinking of something I wanted to make and had a go at it, Then had a look at tutorials which done little sections, went on PHP.net looked down the list of functions and find out how to use them and what they do. Pixel2life.com would also be a best bet, Pixel2life is a search engine for tutorials people post their tutorials, there are literally thousands there. I have also posted some tutorials on my website http://www.peter-kelly.com

Posted by zohail, 11-23-2011, 02:08 AM
Thanks for your useful suggestions. Both of you explain the matter in unique way. I studied some tutorials from phpacademy, tutorials are quite useful. I totally agree with PKhost. I am still looking for good replies.

Posted by iexo, 11-23-2011, 02:15 AM
When I first started I could never stick to tutorials, it felt a very slow process. I found the best way, for me anyway, was simply building upon good frameworks and adding/configuring things to my liking.

Posted by StaticDescent, 11-23-2011, 02:31 AM
Buy a book, or just learn through "try and error" method. Get an open source script, and learn through it.

Posted by Evixo, 11-23-2011, 02:57 PM
What I did to learn PHP was to create a very simple contact form. 1) Download a basic contact form 2) Read the code and try to remember it 3) Rewrite it yourself 4) Test the code (it probably fails) 5) Check why it failed (compare it with the one you downloaded) This is one of the many many different techniques.

Posted by tts5, 11-23-2011, 03:22 PM
1. Buy this book: http://www.amazon.com/PHP-Solutions-...2076051&sr=8-3 2. Download a Code Editor. 3. Follow all the examples. 4. Experiment.

Posted by Server Management, 11-23-2011, 03:23 PM
Here you go: http://www.w3schools.com/php/

Posted by PKHost, 11-23-2011, 03:27 PM
I wouldnt neccessarily say buying a book is the best way to learn as there are lots of other FREE ways but as ever its the person's personal preference.

Posted by Hoopla-Brad, 11-23-2011, 03:49 PM
I agree however everyones learning style is different. I would suggest thinking of a project and figure everything out as you go (As you already know the basics) Build yourself a forum or CMS maybe?

Posted by DreamServers, 11-23-2011, 05:12 PM
is a good site to learn, however really you want to set your self goals, little steps at a time, otherwise you will fill your head with information and either forget half of it or get bored and give up. and again everyone has their own style of learning new things, trial and error is a good way to learn.

Posted by vatsy, 11-28-2011, 03:50 AM
w3schools is good for learning fundamentals. The best part is u can actually work on individual tags and code on their editor. But i would say u should also consult the php documentation in php.net . The documentation is seriously cool.

Posted by nehir, 11-28-2011, 04:35 AM
The best way is: - Install an editor such as EditPlus or Notepadd+++ - Download a PHP script. - Examine the code, play with it.. ^^ That's what I did.

Posted by zohail, 11-29-2011, 12:54 PM
Well everyone of you gives useful replies. Thanks for everyone who actively posted in this stuff. I believe that all the opinion will help me to understand the matter. Thanks



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Minecraft security (Views: 600)