I have data from SQL database that contains xml text which are being echoed with php script
For example this:
No:1|TestName:MachineAlfonso|TestParameter:< asdf/>|TestConnection:1234;
This data is later being parsed to Unity for later uses.
however when i try to print it in unity,
It somehow converting the < to < ; and the > to > ;
The full output become
No:1|TestName:MachineAlfonso|TestParameter:< ; asdf/> ;|TestConnection:1234;
Is there any function to print the output to become a human readable sign not as html code? because those two signs( < and >) are just some than many other html simple that i want to convert.
this is the C# script i use to print the echoed data
public IEnumerator RefreshData()
{
//load the data
//dataLoader is the link of the echoed php data
WWW InventoryDatabase = new WWW(dataLoaderURL);
//wait until its done dowloading
yield return InventoryDatabase;
string abc = InventoryDatabase.text;
Debug.Log("text is: " + abc);
}