Hi ı am trying to use mysql with unity for login and other systems.ı can write data to database with www.url. but when ı tried to read text of php file , nothing happen.there is no error in screen.please help me.
my php file.
<?php
$baglanti = @mysql_connect('localhost', 'root','');
$veritabani = @mysql_select_db('unity');
$querry =mysql_query("select gold from unitytest");
while($sutun = mysql_fetch_array($querry))
{
echo $sutun['gold'] ."-";
}
mysql_close($baglanti);
?>
here is my c#
WWW urll = new WWW ("http://localhost/goldbak.php");
if (urll.isDone) {
txt.text = urll.text;
}