recently there is a huge change in the trend of coding..earlier people used java and html for web designing stuff but now i see all these things are replaced by PHP One reason could be the easy coding which makes the code small but powerful...any more reasons??
It is dynamic web pages, very easy to learn (I learned in about a month), easy to code, and most web hosts are compatible with it nowadays. Plus, it is more powerful than Javascript is.
yeah i agree it is much more powerful than others...but can you please let me know how can i learn it...i got tutorials from net but couldn't get much out of them... are there any video tutorials available!!
tizag.com is a great site, they helped me a ton, php.net is a good reference, but not a good tutorial site, since they go in alphabetical order, not the order you should learn it in. I would read through tizag.com's tutorial and w3schools.com tutorial, you should then know a fair amount of PHP, but don't rush through it, make sure you understand the concepts when your reading through it.
You can't really compare it to JavaScript. JS is for client-side while PHP is for server-side. You can combine them however. Like there are stuff you can do with JS that you can't with PHP and vice-versa. So it's not MORE powerful depending on what you're doing.
Hey, no stabbing I don't remember using anything else to learn. I have scripted within Dreamweaver and (more recently) Zend Studio so they have corrected me a lot.