I tryed to remove the quote from my json output, but nothing work…
1 => array(
'y' => str_replace('"','',$behaviour[5]['wcount']),
'name' => 'Slice Name B'
),
Output
{"y":"3","name":"Slice Name B"}
I need to remove the string "3"
I tryed str_replace('"','',$behaviour[5]['wcount']) and str_replace("'","",$behaviour[5]['wcount']);
Someone can help me please ?
Try this instead: