hello sir, i am new comer to the php.. i want to learn php very quickly.. for that how many days it takes to learn.. what are the ways to learn quickly...
Spend some money, buy a good PHP book and you will learn the basics in just a few days. You can start writing a website after one or few weeks. Cheers.
Experience trumps a few days. Unless you're already well versed in programming tactics and logic and such, there's no way you'll become an intermediate level coder in a month or less. Least the benefit of php is that you can still make a site poorly... poorly, but its still a site that works. at best in a few days you might learn the basics of arithmetic and the echo/include functions to do something the equivalent of the old SSI [server side includes] It also doesn't help if you're not familiar with the proper usage of HTML, CSS or Javascript, since the clientside output can be just as important as the server side functionality. It's like the old saying, Hastes makes Wastes.
Try to search for online php tutorials, there's a plenty of it in the net.. Much better if you can find a step by step instructions.. don't just read... Learn by doing it.. Php is easy compare to other language.. you can learn the basics within a day.. Goodluck!
http://www.w3schools.com/php/default.asp is a good place to start. There's also www.learnphp.org and http://php.about.com/od/learnphp/p/learn_php_free.htm that you can use.
It may be obvious, but the official PHP site is a great help: http://www.php.net/ When you want to know more about any php function you can just type in "php.net/function_name" and that will take you directly to the documentation page for that function. The comments on these pages can also be helpful. Depending on your current skill level as far as programming goes, I'd pick a site that you want to create and just do it. For example, if you want to include database stuff in your learning (which you should), you could create a very simple blogging site. Make a page to list all posts, then a page to list individual posts. Also make a simple form script to add posts to the database. Then after you have those down you can add in more features like editing/deleting posts, adding comments, or whatever you like. If you want to start with something even more basic, maybe start with a simple math script. Have a form where you can enter 2 different numbers and then choose the operator (addition, subtraction, multiplication, etc.) and submit and show the result. And like someone said above, you'll need to learn HTML/CSS/Javascript as well if you don't know them already. What's your current skill level? Any programming experience in other languages? Do you have something specific you are wanting to accomplish after learning PHP or is it just something you want to learn for fun, or are interested into getting into web development? The answers to those questions can help find you the best way to learn! Lastly, if you're a complete beginner, just take things slow and don't expect to learn everything in one day. You'll come across many questions and problems but don't let that frustrate you. Google is your friend, especially for more basic concepts. If you're really stuck, then there's forums and such to help you out too (like this one of course )! That's all for now! Matt
I learn't PHP by using google and reading through Kevin Yanks sitepoint book - Build Your Own Database Driven Web Site Using PHP & MySQL.