Load text from mySQL
Hi there!
I'm working on my project and I still stuck in this process. is how to load all text from URL. the text created by mySQL
I tried to use WWW function to load it, but it passed in only test URL but in real it not pass I don't understand why. let see.
http://www.hardworkerstudio.com/santhai/test.php < this is test it already passed. it just create with echo. http://www.hardworkerstudio.com/santhai/run.php < but this for real it not passed it made of MySQL php generate all of text. but it cannot load to unity with www function.
this is code I use. WWW www = new WWW("http://www.hardworkerstudio.com/santhai/run.php"); yield return www; Debug.Log("Found ==>" + www.text + "<==");
why it cannot load to unity I don't understand.
Your answer

Follow this Question
Related Questions
"Failed to load window layout" Error 5 Answers
Unity installation error, DISM 87 0 Answers
3D grid tetris game problem! 0 Answers