How can I write and run SQL and PHP ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I write and run SQL and PHP ?

I installed XAMPP and opened phpMyAdmin and create a database, called "MyData" ; but I don't know what to do next. One more question: Can I run php and sql from VS Code?

4th Jun 2018, 7:45 AM
Kabir Kumar Gogoi
Kabir Kumar Gogoi - avatar
1 Answer
+ 1
You'll need the username and password for the database. Then you can make a php file and use it to connect to the database. If you do a quick google search, you'll find many manuals and tutorials to show you how to do this. It will connect the document to the database so you can do searches and pass data to the database using queries. Once you learn this, building login systems and ecommerce applications will become pretty easy to do. Good luck and happy hacking!
4th Jun 2018, 8:35 AM
Xpl0it
Xpl0it - avatar