OriginalBoy Posted May 16, 2008 Share Posted May 16, 2008 Right basically I am having a real big problem trying to learn PHP. I just don't seem to get how and why things happen. What is the best and quickest way to learn? And is there any sites/books you recommend. Quote Link to comment https://forums.phpfreaks.com/topic/105922-trouble-learning-php/ Share on other sites More sharing options...
RichardRotterdam Posted May 16, 2008 Share Posted May 16, 2008 how to start learning php is pretty much just a preference of how to. Some like to get a book and take their time while studieng it. I prefer the trial and error way just experiment with php and see what it does and learn from your mistakes. w3cschools has a ok tutorial about learning php and so does this site under the tutorial section. just look around online and search for php tutorials. the basic one is (yeah ofcourse) "hello word" from there on learn your if else , switch and loops and you'll be fine Quote Link to comment https://forums.phpfreaks.com/topic/105922-trouble-learning-php/#findComment-542829 Share on other sites More sharing options...
jonsjava Posted May 16, 2008 Share Posted May 16, 2008 personally, I like taking others code, and breaking it down, and seeing how it works. "ok, the code says <?php $string = "hello"; $strong .= " world"; print $strong; ?> what does .= mean?" That kind of stuff. as I go, I learn more and more. The best thing I can say to do is take some open-source code (the worse the code, the better to learn by, because you get the experiece of fixing it, as you learn -- well, that's how it was for me) and try to add to it. Quote Link to comment https://forums.phpfreaks.com/topic/105922-trouble-learning-php/#findComment-542838 Share on other sites More sharing options...
RichardRotterdam Posted May 16, 2008 Share Posted May 16, 2008 personally, I like taking others code, and breaking it down, and seeing how it works. "ok, the code says The best thing I can say to do is take some open-source code (the worse the code, the better to learn by, [/quote] haha so true fixing someone else's code is always so much more trouble then building something from the ground up. I still say first with the basics then start playing around with messy codes and enjoy the bugs Quote Link to comment https://forums.phpfreaks.com/topic/105922-trouble-learning-php/#findComment-542850 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.