SOLVED: Storing templates
-
Hello,
Am using functions from a library that return results in template form. The library documentation says I can store these templates in a database. I looked up QList but its still not clear how to go about it. So how do I post them to a php script for mysql storage. And how do I view them in plain text format?
Thanks in advance
-
Hi,
If i understood you correctly you're getting the results as text. If you want to store them in a database your can use Qt's "Sql module":qt-project.org/doc/qt-4.8/qtsql.html
For simple presentation, a QPlainTextEdit should do the work.
-
It all depends on the content of your structure.
Without seeing it, it's difficult to comment on your approach.
-
Great !
There's no button, just edit the thread's title and prepend [solved] :)