Hey, I would like to learn PHP, I know HTML and a bit about Java but I am very interested in PHP. I have a few questions though: 1. Whats the best book to learn from (preferably one I could buy from amazon and one which isn't to expensive) 2. How long would it take to make a website like Tribalwars (for me if I spent about 5 hours per day working on it?) Thanks nut legend
hi, i learned php from the internet, i think you can find what ever you need there, and you can also download scripts and learn by changing/looking/playing with the code. good luck
You don't need to buy a book, i also learned from the internet there is a lot of good quality resources out there including this forum. As for site like Tribalwars, don't want to discourage you but this will take few months for good programmer or a team of web developers including web designer, programmer and so on, if you are getting started it will probably take even longer. That's not to say it cannot be done, it can, but when you start learning something new what you can expect is slow incremental progress, you won't learn it overnight, but it is a skill like anyother skill and anyone can learn it.
Out of interest could you give me a link for some of the resources that you used? Also could you tell me where I can learn PHP from this forum, I was thinking of buying Sams teach yourself php in 10 minutes, do you think I should? Thanks nut legend
you can get that book in pdf form for free Just visit the last link in my signature Search for "Sams Teach Yourself Php" (without quotes) Regards Alex
Whats the best book/ebook to get you from complete novice to creating an online game, also if I need any languages apart html could you please specify what they are? Thanks nut legend
Hmmm it will be though, because all of my resources were in Polish language, so they would be probably no use to you, except for php.net As for forum, open it daily and browse thru threads if you see a thread where you can help someone, or need to write some code first to help someone, do it - resolving problems - that's what this is all about. I do not know about this book so i can't tell.
Learn from using it. I know it sounds a little hard when you don't know how. Set yourself little tasks, then see if you can get the correct output. The classic "hello world" print is the very basic start
try learning from w3schools, i m learning it from there too i found it superb and i use php.net for references
php.net's manual for all the built in functions is a must. Like any IT says "RTFM" for "read the f***ing manual" Also I have some tutorials on my site. I would start with writing simple variable's and using operators. Also start using simple control structures such as the if else conditions. Read about the isset function since I use it a lot and it helps when getting variable values from a string. i.e. you have $var = value... you want to see if the variable has a value. A simple boolean condition. $var = 'there is a value here'; if(isset($var)) // your condition we see if the variable is assigned a value { output; // if it's "true" or value set. } else { output; // if it's "false" or no value. } The above is more practical instead of writing: $var=$_REQUEST['var']; if($var=='NULL' || $var==' ') { output; } else { output; } Learn about the operators and logical operators first. such as the single = means "is set to" and double == means equal to and != means not equal to... and so on.
I tried to sell scripts for 6 years...i sold 0 In today's internet its impossible to sell scripts since people may find anything for free and with better development/addons/plugins
maybe you were making the wrong scripts =] haha try to make something never made before. or a DRASTIC improvement on it.
I recommend for a solid base education to start with a book like php for dummies. It is thorough and easy to understand. Then after reading it, put it into practice! Then work your way up through more challenging tutorials once you feel comfy with the basics.
Thanks for all your replies guys, I will buy the learn php in 10 minutes book, afterwards I will make some simple scripts. I will make a new thread and post them (or I may just post them here) Thanks nut legend
Will... I see you haven't been on DP long. Once you have read as many threads as I have you might notice people selling scripts for lots of money. I have a friend who made a few hundreds selling a simple script on the net some on DP. It all depends how good your script is and if its needed. Also you have to be a good salesperson.