PHP Exercises!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

PHP Exercises!!

Post by klevis miho »

I need beginner php exercises. I think that is the best way to learn it
jarnail
Forum Newbie
Posts: 7
Joined: Thu Oct 30, 2008 8:44 am

Re: PHP Exercises!!

Post by jarnail »

go to w3schools.com or tizag.com
winner
Forum Newbie
Posts: 3
Joined: Thu Oct 30, 2008 4:56 am

Re: PHP Exercises!!

Post by winner »

i think you can find them anywhere,but not here... :banghead:
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: PHP Exercises!!

Post by onion2k »

I have to admit I've never seen any formal exercises for people to use to learn PHP. There's loads of articles and blog posts and tutorials around, but if you want some 'test questions' I don't think you'll have much luck.

Maybe that's something some people here could write...
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: PHP Exercises!!

Post by klevis miho »

Yeah thats what i mean onion2k. It's very difficulting findind exercises.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: PHP Exercises!!

Post by jackpf »

Make a basic forum! :)

That'd be pretty easy...but you'd learn a lot as well. It should teach you the basics of SQL, code logic, design...

It should also teach you about security as well. Forums can be extremely vulnerable, since their purpose is to allow users to submit data.

Anyway, just a suggestion :)
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: PHP Exercises!!

Post by klevis miho »

Thanks

But a forum for me would be difficult. I would like to start from the beginner things and build my way up, you know what i mean :)
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: PHP Exercises!!

Post by jayshields »

A few ideas:
Make a contact form which sends emails.
Make a basic CMS (doesn't have to have a DB back-end).
Make a guestbook (again DB back-end optional).
Make a login system/class.

Extending these ideas is easy, and you could go as far as benchmarking them and then re-implementing them for maximum performance. Or trying out difference development practices on the same task, such as test-first.
Cirdan
Forum Contributor
Posts: 144
Joined: Sat Nov 01, 2008 3:20 pm

Re: PHP Exercises!!

Post by Cirdan »

Yea...best way to learn is just to start doing. Write some simple stuff like like mentioned before, maybe try to make a blog or forum. It doesn't have to be fully featured like Wordpress or PHPBB. Once you write an application like that, you will gain a lot of knowledge and experience that will help you a lot your next time around.
Post Reply