Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

json enconde

<?php
$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);

echo json_encode($arr);
?>
  
  {"a":1,"b":2,"c":3,"d":4,"e":5}
 
PREVIOUS NEXT
Tagged: #json #enconde
ADD COMMENT
Topic
Name
3+5 =