I Was so fascinated about PHP, that I asked my friend (who knows PHP & OOP) if he could teach me a little bit.
And after that, I started to code my own scripts, and understood why I got errors (if I got any) in the first place.
But yeah, I'm easy to learn, and I love to learn aswell. Because you can do almost anything for your website in PHP.
So ask a friend, or learn through a website (w3schools are good for beginners)
Learning really depends on people. Some people - like me - can watch a video and/or read a small tutorial or other open-source projects to understand the idea of the language. Then there's people - like a good friend of mine - who read a whole book and then know the whole aspect of a language.
If you are the kind who like to learn by code (e.g. hate reading stories) I recommend you first off to look at
You must be registered for see links
(watch the first videos explaining PHP itself and the language). Then when you've got a hang of the language it's a good idea to get on sites like
You must be registered for see links
and check out other PHP projects and go through their source code. If there's a php function you don't understand you can easily look it up on the
You must be registered for see links
- also some of the comments below each doc is helpful sometimes.
When you've got a hang of that and tried to write your own small scripts, next step is to look at the architecture of your code. You can look at OOP (Object Oriented Programming) and the MVC framework (Model-View-Controller) + many more.
I know this became a little long, bare with me Good luck!