PDA

View Full Version : How To Insert Data which is generated From Qt App into MySQL Database through PHP?



vivek31
23rd November 2015, 11:14
Hello All,

I Working on Qt where i need to insert data generated from Qt into the mysql database through php script. I am developing one Android Application so I have found this way only to insert data into mysql server through php?
I look forward for yours replies I'll be very thankful if help me out of this problem.
more than 2 weeks i am trying to this.

Thanks!!

anda_skoa
23rd November 2015, 13:33
Well, Qt can obviously directly connect to a MySQL database server, but if you have to go through a web service then it is not really important whether that is done in PHP or something else.

You will need to find out how the web service expects the data and then use QNetworkAccessManager to make the appropriate HTTP calls.

Cheers,
_