0
Php is better than sql?
3 ответов
+ 6
Assuming you want to build web pages, you'll get results faster by starting with PHP. SQL is used for data storage and retrieval, so it's hard to build anything interesting without them, but if I were just starting out I'd find it more satisfying to start building web pages right away, then learn to hook them up to a database.
Also, by building on other people's frameworks, you can actually do a lot without ever learning much about SQL. For instance, you need to understand a lot of PHP to customize Wordpress, but only enough SQL to make a new table and grant wordpress access to the database.
SQL is fun and powerful once you get into it, but be aware that it's a very different sort of language than PHP, Python, Ruby, etc because selecting information from a database takes a different kind of logic. Don't be scared off by the fact that it's different. The concepts will start to "click" for you once you've been playing with your data for a while and seeing how it works..
+ 6
Those are no comparison, PHP is a web back-end programming language, SQL is a database management language, you are comparing an Apple to an Orange.
+ 1
Thanks alot