+ 4
What is the difference between SQL & PHP
4 Answers
+ 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
+ 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.
+ 4
Briefly:đ
php is language to programme sites or apps or games and sql is a language to communicate with a dbs (database)
+ 2
Thank you so much for clearing my doubt Saja Yasser & VICTOR OMONDI đ