Ive got my CS mysqlscript running. Ive created a class
Second question: Do these files need to be in the same folder and attached to the same object?
asked May 25 '10 at 07:37 AM
You can't just use "mysqlconn" out of nowhere, you didn't instantiate an instance of it.
You need to do one of three things:
I recommend option 2.
Also, I wouldn't put the MySQL query inside of an OnGUI() function (which it appears you may have done), unless you want your database to get hammered and your game to run really slow.
answered May 25 '10 at 08:56 AM