database connection problem

i want to make model for my university with unity3d and want to connect to a database which should contain information of my university.so can any one tell how to connect the database to the unity3d game engine....please

2 Answers

2

Usually, you will need some server-side programming. PHP is a good choice as it is easy to learn and there are free webhosts which support PHP. Paid hosting is quite affordable too.

Next, you would need to learn MySQL to manipulate the database.

Finally, to connect to the PHP scripts which would manipulate the database, you can use the WWW class to send requests to a PHP script and to read its return.

A good place for more PHP/MySQL help, if you should need it, is the W3School tutorials.

see here: http://answers.unity3d.com/questions/22039/unity-secure-connection-and-dbase