- Home /
iOS and MySQL : PHP or .NET Plugin ?
Hi everyone, I'm currently working on a multiplayer video game and I choose mySQL to store and retrieve persistent informations. This game have to run a several platforms (PC/Mac, WebPlayer -> Facebook, Android & iOS).
I wrote some PHP scripts to communicate with my database, but I don't know if I can use a Mysql Client plugin instead (http://www.codeproject.com/Articles/43438/Connect-C-to-MySQL). I think it will be better and faster, but I dont know if this plugin will works on a Android, iOS or WebPlayer build.
Anyone experiment this ?
Furthermore : currently I made static functions for MySQL SELECT, INSERT INTO and UPDATE, and I directly send the query with POST data. A remote PHP script execute the query, and send back serialized informations (JSon). It's better for me to have just 3 functions able to query what a want, when I want, but I wonder if this method can cause some security problems (because of the query directly send).
Thanks you for your help, and sorry for my french english...
Your answer
![](https://koobas.hobune.stream/wayback/20220613063309im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
About renting the host for the game 1 Answer
Is it possible to let a variable in c# to get the value of a variable in php. 0 Answers
Using PHP to generate objects or list in Unity with C# 2 Answers
Mysql PDO Register user insert not inserting, no error feedback 0 Answers
Upload audio file into mysql database 0 Answers