+ 4

What is the difference between SQL & PHP

1st Oct 2020, 2:37 PM
Lákshãy Gøgíà
Lákshãy Gøgíà - avatar
4 Antworten
+ 5
SQL is structured query language - a language for communicating with database servers like MySQL, Oracle, MS-SQL etc. PHP is a server-side scripting language usually implemented as a module in the Apache webserver - it is able to do tasks on the server such as issue SQL queries to a database as well as create HTML on the fly. It only runs within the webserver in response to a user's web request. To build an app to interact with servers the security rules require you to do that from your server - you can't get the user's browser to make web requests from other sites, at least you can't get the answers. You could use a scripting language like PHP or ASP, or a CGI program (compiled program or e.g. Perl), or a Java backend like Tomcat. You can build a dynamic website just with Javascript, but if you want to access a database or server-side resources then you need a server intterface as above
1st Oct 2020, 2:42 PM
Saja Yasser
Saja Yasser - avatar
+ 5
SQL - Structured Query language is the standard language for relational database management systems. PHP is a general-purpose and sever scripting language. It is used for making dynamic and interactive web pages.
1st Oct 2020, 2:45 PM
VICTOR OMONDI
VICTOR OMONDI - avatar
+ 4
Briefly:👇 php is language to programme sites or apps or games and sql is a language to communicate with a dbs (database)
1st Oct 2020, 2:43 PM
Saja Yasser
Saja Yasser - avatar
+ 2
Thank you so much for clearing my doubt Saja Yasser & VICTOR OMONDI 🙏
1st Oct 2020, 3:03 PM
Lákshãy Gøgíà
Lákshãy Gøgíà - avatar