How to use SQL? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to use SQL?

I'm learning SQL, I already know PHP. But I haven't understood how to use the SQL language. I mean, what should I install, how should I use it and where do I have to write the SELECT statement etc?

4th Jan 2018, 7:12 PM
Luca Marseglia
Luca Marseglia - avatar
2 Respuestas
+ 1
SQL is used in a database quiry located in PHP. You will need a Web server to execute PHP, with database software installed for SQL. Good shout is to youtu.be it. You should make sure the code the tutorial shows you is not vonrable to an SQL injection attack.
4th Jan 2018, 7:17 PM
josh mizzi
josh mizzi - avatar
0
this is the way we connect to database using PHP but there are two more ways.. the way I have used is mysqli object oriented.. u can use mysqli procedural way or the third one PDO connection https://www.dropbox.com/s/v6hndy6izf1pw6n/Screenshot_2018-01-05-01-01-33-947_com.termux.png?dl=0
4th Jan 2018, 7:33 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar