Ask coding questions

← Back to all posts
How i can use SQL in html????
Duvangamer3845 (131)

i fnish to learn SQL but how i can use SQL to my website
example: if i wanna make a social red,and i wanna when the post has beeen uploaded,the name of the user,the content of the posts, and the date,if i make a <FORM> and then the <INPUT> what parameters i need to use,first i need to import the sql document,(i dont how make that)
and then i need obtain information of that database to upload to the rest to the pos tthe parameters mencionated oreviously,how i cna make that???

Answered by PattanAhmed (1404) [earned 5 cycles]
View Answer
PattanAhmed (1404)

@Duvangamer3845 Hi,
There is something you have to learn before It's called SQL(called Sequel too).
SQL is just a small programming language which really based on DataBases. You can start from here

Then you can learn Sqlite3 for using it with Node.js
Then it will become easy for you in dealing with Databases. Start with this tutorial here

Hope this helps
Please mark my answer if this helps

AstOwOlfo (257)

i fnish to learn SQL -Duvan, 2020 @PattanAhmed

PattanAhmed (1404)

@Duvangamer3845 Please check my comment above if you don't understand probably!

SixBeeps (5225)

Fun fact, the word "red" en español does not directly translate over into English. "Redes sociales" goes to "Social media".

SQL is a completely different entity from HTML, so if you wanna make a website, you have to get into the mindset that there are many different, separate parts that connect through bridges (formerly known as APIs).

Coder100 (18057)

Actually, since you are a beginner, I think json will be easiest.

AstOwOlfo (257)

nah, if he's using node in the end get them to use quick.db, much easier for a beginner @Coder100