MySQL and PHP Question

I want to retriev the data of a player but i got strange array:



function Retriev() {
var form = new WWWForm();
form.AddField("user" , username);
var w = new WWW("localhost/Accounts/postdata.php", form);
yield w;
Weapons = w.text.Split(";"[0]);

user = _POST[‘user’];

    $result = mysqli_query($con,"SELECT * FROM Accounts WHERE user = '". $user. "'");
	while($row = mysqli_fetch_array($result))
	echo $row['Equipments'];

Check what do you have in w.text before splitting it and store it in the Weapons array