mysql - Is it possible to embed PHP in Qt (Symbian)? -


since qt sdk symbian not support mysql driver (spent 5 days trying create 1 no success), possible embed php code in c++/qt ? i.e. able put in symbian app php code connect remote db , insert data tables ...

$mysqli = new mysqli("localhost", "username", "pass", "db");             if ($mysqli->connect_errno) {                                                                    echo "failed connect: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; } 

and after insert statement ...

do know if it's feasible ?

it bad design - if don't want store data locally (you can use sqlite 3 driver symbian), shouldn't have local php server on phone, should rather have remote php server database resides , create api communicate phone.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -