Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Unity C# MySQL Issues

$
0
0
I got most of the things working but im a bit confused on what to do next. I need to know how to figure out if the log in info is correct. I followed what this guy, SixTimesNothing, did (http://forum.unity3d.com/threads/11466-Reading-database-and-or-spreadsheets) and i have no errors but im not sure how to verify if the information is correct. I have this and im trying to figure out what to do public bool ValidInformation(string User, string Pass) { doQuery("SELECT ID FROM rz_users WHERE Username = " + User +" AND Password = " + Pass); return false; } i know in php i could run a mysql_num_rows($data) and have $data equal to my doQuery But what is c#'s version of mysql_num_rows

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>