简体   繁体   中英

How do you get mysql to connect to a website (created using html and css)

I am a student who needs help with some coding. My assignment requires me to create a website that uses mysql database with xampp to store, retrieve and create reviews for games. Is there a way to connect mysql to my website WITHOUT USING PHP . Our assignment specifications dictate that we can't use php so I'm looking for alternatives. All help will be appreciated thank you.

Unless you are going to use the browsers IndexDB, you cant accomplish this. Html is a markup language and CSS are the styles rendered to HTML, they cant connect with MySQL db or any db in that regard. You need a server language to connect with the database. Other alternatives to php are Node JS, Python etc..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM