In the internet there are databases(mysql, oracle etc.) where I can send the informations submitted by the HTML input fields with PHP or any other server side language.
How is this working in C/C++? How can I let a user input something and them save the inputted value?
You can either:
BTW, these are common for all languages.
Really depends what you want to save.
There are libraries (like this one) that will let you connect to SQL databases from C++.
Another approach would be to save/load it to a file. For simple things just filestreams may be good enough, other times you may want something a bit more hard-wearing like boost::serialization to take some of the hard work out of it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With