ESP8266 database connection

Hi there!I have a tricky question:is there a way to connect my web page hosted by the ESP8266 to a database from the SPIFFS of the same board?I have to mention that the web page is on an SD card and the database on the SPIFFS memory.The thing I am trying to achive is to submit a form and send the data to the database.I don't wanna use the localhost for that.I am trying to make this process possible form within the ESP8266 board.

What kind of database are you using on the SPIFFS?

As your web page is running on the ESP8266 you can also send value to the board. The web server will get the values and you just have to make sure that they are saved to that "database".