This is probably an easy solution to this problem, but I am no that familiar with php. When i use this function
function generateXML($array){
$xmlString = "events: [";
for ($i = 0; $i < sizeof($array);$i++){
$obj = $array[$i];
//print_r($obj);
$set = "{
id: \'" + $obj[0] + "\'," +
print($obj[0] + "");
"title:\'" + $obj[1] + "\'," +
"start:\'" + $obj[2] + "\'," +
"end:\'" + $obj[3] + "\'";
echo $set + "\r\n";
$xmlString = $xmlString + $set;
}
return $xmlString = $xmlString + "]";
}
a get 233445566778101144 is and I should be getting text not numbers. Any suggestions or clues would be great.