0

how does php differ from sql ?

3rd Feb 2017, 3:01 PM
castan
castan - avatar
3 Answers
+ 4
PHP is a server side script language, SQL is a database structure language. they aren't comparable. you can use PHP to execute SQL commands, but not vice versa.
3rd Feb 2017, 3:17 PM
Mario L.
Mario L. - avatar
+ 4
sort of. you'll have to establish a connection to the database first and can then pass queries to it.
3rd Feb 2017, 3:23 PM
Mario L.
Mario L. - avatar
0
so php can run queries as well ?
3rd Feb 2017, 3:18 PM
castan
castan - avatar