kade119 Posted May 13, 2010 Share Posted May 13, 2010 I'm starting this thread because there are not many actual exercises for beginners learning PHP only tutorials. So what I'm asking, is for any of the PHP coders out there to begin posting one or two exercises that might be useful to novice PHP coders to work with. Please post your exercise and the answer to it at the bottom of the your post. Thank you. Quote Link to comment Share on other sites More sharing options...
Joshua4550 Posted May 13, 2010 Share Posted May 13, 2010 Wouldn't it be more logic to create your own website? I mean, if they post the excercise with the answer, you're not going to learn any more than you would if it were as a tutorial. Quote Link to comment Share on other sites More sharing options...
kade119 Posted May 13, 2010 Author Share Posted May 13, 2010 well then let's not post the answer, i could create my own site for this but i thought it might assist in driving more traffic for this forum... Quote Link to comment Share on other sites More sharing options...
Joshua4550 Posted May 13, 2010 Share Posted May 13, 2010 Either way, this is the forum for PHP Help, generally ou post if you need help, not to drive traffic here. But like I said, what you originally said would only be as effective as a tutorial because you have the answer. Quote Link to comment Share on other sites More sharing options...
Maq Posted May 13, 2010 Share Posted May 13, 2010 Here are a couple suggestions: - Try some of the tutorials here on PHP Freaks. - Search Google for some sample exercises - Try to solve other peoples' problems that have posted. - Think of features, widgets, etc. and try to create them. Quote Link to comment Share on other sites More sharing options...
Mchl Posted May 13, 2010 Share Posted May 13, 2010 If you like puzzles you might want to try http://projecteuler.net/ Quote Link to comment Share on other sites More sharing options...
iblood Posted May 13, 2010 Share Posted May 13, 2010 Wouldn't it be more logic to create your own website? I mean, if they post the excercise with the answer, you're not going to learn any more than you would if it were as a tutorial. I agree.. So can you post some ideas for a startup project then??? I want to do a website for myself, but have too many ideas, and none was put into development.. :'( any tips?????? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted May 13, 2010 Share Posted May 13, 2010 I mean, if they post the excercise with the answer, you're not going to learn any more than you would if it were as a tutorial. That's just because you're not disciplined enough then. If you skip straight to the answer then it's your own fault if you don't learn from exercises. Quote Link to comment Share on other sites More sharing options...
iblood Posted May 13, 2010 Share Posted May 13, 2010 I mean, if they post the excercise with the answer, you're not going to learn any more than you would if it were as a tutorial. That's just because you're not disciplined enough then. If you skip straight to the answer then it's your own fault if you don't learn from exercises. You can still learn if you skip directly to the answer- it depends to your way of thinking... unless ofcourse if your the spoon fed type.. so it really falls to DICIPLINE Quote Link to comment Share on other sites More sharing options...
Tazerenix Posted May 15, 2010 Share Posted May 15, 2010 use the php reference and try and make a system where someone can post a comment, its stored in a MySQL database and then printed to the screen. Quote Link to comment Share on other sites More sharing options...
CodeMaster Posted May 15, 2010 Share Posted May 15, 2010 If you would like to learn programming, I would consider you begin with a basic programming book. If you know programming like C# or something, PHP will be easy for you, because it requires less. You can try to focus on your main understanding of programming. Like to solve pseudo code or something. These are good websites with exercises: http://www.spoj.pl/problems/classical/ http://www.cplusplus.com/forum/articles/12974/ http://www.usd116.org/lbeuschlein/C%2B%2B/pseudocode1.htm http://ocw.capcollege.bc.ca/computing-science/comp-106-programming-with-robots/COMP106-Course-Files/exercises/Exercise1.pdf Quote Link to comment Share on other sites More sharing options...
jn2 Posted October 30, 2010 Share Posted October 30, 2010 If you are looking for PHP exercises, try this: http://phpexercises.com/ We've just published the site, with 26 exercises. It's for beginner to intermediate, starting with the very simplest scripts and concepts. The exercises cover variables, control structures, forms, arrays and functions among other things. You start with the problem, then click a button to see the answer script code. There's a link on the answer page to the output of the answer script. Come give it a try, let us know if the instructions are clear. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.