/    Sign up×
Community /Pin to ProfileBookmark

PHP – best way to learn it

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

to post a comment
PHP

7 Comments(s)

Copy linkTweet thisAlerts:
@Nils28Jul 17.2012 — I have already asked (almost) the same question.

Check my thread steps to follow in order to learn PHP.
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@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
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@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.

That's all!
×

Success!

Help @superjoost40 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...