DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
PHP - json_encode()
<?php
$age
=
array
(
"Peter"
=>
35
,
"Ben"
=>
37
,
"Joe"
=>
43
)
;
echo
json_encode
(
$age
)
;
?>
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#PHP
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit