I know html and css pretty well, good enough to create a website in. But i want to upgrade my skills to php, so i am currently on my 5th tutorial, i just cant find a good way to learn php.
So my question is:how did the advanced php scripters learn php? Thx
@jedaisoulJul 18.2012 — #I wouldn't claim to be an advanced php coder, but I have learned what little php I know by using it to solve real life problems. A simple example is php include files for the header, menu and footer Then there is the ubiquitous contact form. I find it much easier to learn if I have an actual problem to solve.
@Nils28Jul 20.2012 — #I wouldn't claim to be an advanced php coder, but I have learned what little php I know by using it to solve real life problems. A simple example is php include files for the header, menu and footer Then there is the ubiquitous contact form. I find it much easier to learn if I have an actual problem to solve.[/QUOTE] That is what you do with PHP in this case? It's called scripting.
PHP is also a programming language.
But, at the end, there are so many things you can not just learn by doing. If you don't understand the logic and how things work, you won't be able to understand.
For example, this code will work and print the "+" or "&" while in another context it won't. [code=php]echo "+ :" . $x + $ y;[/code]
Or why [B]===true[/B] doesn't works but [B]==!FALSE[/B] and [B]===FALSE[/B] do. Things like that.:p
@jedaisoulJul 20.2012 — #I did not mean to suggest that you learn by doing alone. The idea is that when you come across a problem, like [b]===true[/b] not working, you have an added incentive to learn why.
Anyway, I'm an old programmer, with a background, many years ago now, in machine code and assembly language programming. I used to be able to read and write Intel 8080 native code without a mnemonic assembler. Long forgotten now. Indeed, I suspect that I may have forgotten more languages than you've learned. So I doubt that I need advice from you on learning computer languages. But thanks anyway.
@ixoraJul 21.2012 — #Wow.... but I'm with you. I learn better when there's real problem to solve. Actually once you know one language, they are all similar except for syntax and specialties of the language.
The assembly languages behave alike, the high level procedural languages, and then those that are objected oriented... those are my three main classifications. If you know one language quite well, a good book and a problem should get you through.
Otherwise, I recommend a class. I don't see html and css as being a programming background. That's a jump.
Wow... when I first studied CS, I had classes assembly... I supppose most of my classmates are dead.
@Nils28Jul 21.2012 — #So I doubt that I need advice from you on learning computer languages. But thanks anyway.[/QUOTE] It is not an advice as I didn't say what you should or shouldn't do.
It is just my meaning and what I understood from my first steps in learning how to program.