↧
Answer by dave for json_encode change number into string
I am guessing online you have an older version of PHP: JSON_NUMERIC_CHECK (integer) Encodes numeric strings as numbers. Available since PHP 5.3.3. When you JSON encode, it will not have quotes if PHP...
View Articlejson_encode change number into string
I have an array which has some strings values and some numeric values. I used json_encode to convert array into json array but it convert numbers values into string which I do not want....
View Article