SQL adding to webpage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

SQL adding to webpage?

I am creating a webpage but I suffer from making the SQL linked to the HTML/CSS/JavaScript site.? Anybody help, coding will be helpful...

24th Apr 2017, 5:40 PM
Iwan
Iwan - avatar
5 Answers
+ 4
If JS is of no secret to you, I don't know if you consider this option, but you might try node.js to tackle SQL handling. Or, consider a noSQL, non-relational database system like MongoDB - it is programmed and queried in JavaScript.
24th Apr 2017, 6:50 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
@John your code on php doesn't work https://code.sololearn.com/wUeTnONBvg5t/?ref=app
25th Apr 2017, 8:29 AM
Iwan
Iwan - avatar
+ 4
If you want to work with SQL-Databases, then I recommend you to use php scripts. Here is an example of a login that is connected to a SQL-Database: https://code.sololearn.com/wx86CoTzicV1/?ref=app
24th Apr 2017, 7:52 PM
inactive
+ 3
you'll need a server side language like php for that
24th Apr 2017, 5:41 PM
Mario L.
Mario L. - avatar
+ 2
@Iwan_de_Jong Please read the comments of the program! Then you may also be aware that this program will never work here in this forum or without modification. Since I do not have my own database, I did not have the possibility to link this program directly to a database. Please remember to read the comments of a code and study it yourself before you make a judgment about it. So if you have your own SQL-Database, which is similar to the example in the code, you can use this program for yourself without having to worry about other errors. If you have any further questions, please contact me! : )
25th Apr 2017, 3:12 PM
inactive