Guest Torner Posted December 28, 2007 Share Posted December 28, 2007 What Is Harder, JavaScript Or PHP?сообщ. 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? Link to comment Share on other sites More sharing options...
Idontwantspam Posted December 28, 2007 Share Posted December 28, 2007 -where to begin, where to begin -JavaScript and PHP are very, very different things. JavaScript is a client-side language, it is interpreted by the browser, and also depends on the browser being able to use javascript and having it turned on. It can be used to manipulate HTML directly, which is called dynamic HTML. PHP is a serverside language. It runs on the server, and the browser only sees the HTML that PHP serves it; it never sees the PHP itself. PHP can be used for very basic things, or can be immensely complex. It cannot interact directly with the page, e.g. you cannot call a PHP function from clicking a button. Learn your HTML, CSS and JavaScript first, once you understand them well, move on to PHP. You will need webhosting that supports it, or else have to set up your own webserver. Link to comment Share on other sites More sharing options...
mschol Posted December 29, 2007 Share Posted December 29, 2007 first try to get used to scripting with javascriptphp is fairly easy to learn but its also VERY easy to make applications with HUGE security holes in it. Link to comment Share on other sites More sharing options...
ripken204 Posted December 30, 2007 Share Posted December 30, 2007 they really are different in how you code them to react with things. they do have similarities with how you can write functions for them.. but also you can use php to interact with databases, that is where php gets fun Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now