Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php array json encode key and value

json_encode($thearray, JSON_FORCE_OBJECT)
 
PREVIOUS NEXT
Tagged: #php #array #json #encode #key
ADD COMMENT
Topic
Name
6+5 =