Page 1 of 1

Can you recommend a good place to do PHP exercises?

Posted: Wed Apr 27, 2011 11:20 pm
by KyZu
So I just started learning PHP a few days ago and I think I'm understanding it, I know what things do and why they're suppose to do it, except most of the time I feel like I'm just looking and typing code...the author is simply saying "When you do this, that happens, and when you change that, this happens" -- It's nice to understand the theory behind it, but I'd like to PRACTICE, I'd like to make some mistakes and learn from them.

I know a lot of people will say "Just try to make something!" but I feel overwhelmed with information, I don't know where to 'start' in order to make something simple.

So does anyone know of a good book/website/etc that gives you exercises that slowly increase in difficulty?

Re: Can you recommend a good place to do PHP exercises?

Posted: Thu Apr 28, 2011 1:24 am
by social_experiment
Website/s :
w3schools.
Books :
The PHP manual, Anything with "learn php" in the title is a good read (imo).
KyZu wrote:I know a lot of people will say "Just try to make something!" but I feel overwhelmed with information, I don't know where to 'start' in order to make something simple.
Try the basic 'Hello World' script. The thing is that you have to experiment with php (as with many things) to find out how it works. You can read all the books, know the manual back to front but if you can't implement what you have learned you just proved that you have a good memory.

Try creating small functions to check input, to check string functions, etc then save these to a library where you can keep them for later use. Once you have the basics down, move onto bigger things like database connections and data manipulation. The key is to not think that you have stopped learning when you know 'everything'.

Also, you can bounce ideas of the forum users :) It's a good place for help, ideas, etc.