I have this PHP code that creates an array to display as JSON:
$return_arr = array();
$sql="SELECT * from prices ";
$rs=mysql_query($sql,$conn) or die(mysql_error());
while($result=mysql_fetch_array($rs)) {
$return_arr[] = array('label' => $result["product"], 'id' => $result["sequence"]);
}
currently, it displays like:
var data = [{"label":"VoIP Telephone Numbers","id":"3"},{"label":"VoIP Port Submit","id":"4"}];
but i need to get the quotes (") removed from the label
and id