Do you need to learn SQL if you know PHP? - which is easier btw? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Do you need to learn SQL if you know PHP? - which is easier btw?

Do you need to learn both, or is one good enough? SQL _ PHP _ Which should I learn (Easier)?

16th Jun 2019, 5:52 AM
Ginfio
Ginfio - avatar
2 Answers
+ 6
Yes, you do😊 SQL works with PHP. It won't really make (much) sense if you learnt PHP without SQL if you want to make a functional website. SQL is used to communicate with the database. https://www.w3schools.com/php/default.asp You could also check that out😊 It has both PHP and MySQL. MySQL is a database management system, like SQL Server, Oracle, Informix, Postgres, etc. MySQL is a RDMS (Relational Database Management System). https://www.quora.com/What-is-the-difference-between-SQL-and-MySQL-or-SQL-Server And BTW, SQL is easier😊 Hope I helped 😀
16th Jun 2019, 6:56 AM
Oma
Oma - avatar
+ 4
SQL is used to interact with the database, like query, update etc. PHP is used for server side scripting. You have to learn both to design a complete website. SQL is easier to learn BTW.
16th Jun 2019, 6:45 AM
Mohammad Fahad Sayed
Mohammad Fahad Sayed - avatar