Hey all, Maybe seems like an odd question to ask but the reason I ask is because I am learning JavaScript which I find fairly hard to pick up and I am going to start learning PHP soon and so I wondered if I am going to find it easier or harder than JavaScript?
PHP is a language that outputs html (and other text) to a browser. javascript is clientside, and can be used in a lot of ways. like making snow in you browser. it depends. I would say php is easier for a lot of things.
I'd say both are easy but it depends on the interest you show in them. If you are good at Javscript and PHP both then you can do a lot like AJAX programming that includes both JavaScript and Server side language like PHP to display and manipulate data instantly. Regards, Ajay Chadha
I'd say both are hard if you have never done programming and if you are not aware of how server and client side script languages work.
JavaScript is by far the hardest because of cross-platform problems. PHP is easier because it lets you get away with a whole lot more. They are both easy languages, like someone mentioned, but the problems of JavaScript not having a standard will eat at you until you die.
Are you confusing Java with Javascript? They're totally different languages and are nothing alike. But in reply to the thread title I would think that Javascript is harder to learn. I've read many other people agree with this.
PHP is much easier in my opinion, but then again I'm only 15 so it might just be because I'm young that I find JS Harder ;s
Learn PHP, especially writing and reading from databases. That will you how to create information rich websites. Then learn Javascript so that your get a nice interactive website for users accessing your data. Both complement each other.