Answers for "php join array to parenthesis"

PHP
0

php join array to parenthesis

<?php

$metals = array();
$metals[] = array(1991, 6.5);
$metals[] = array(1992, 4);
$metals[] = array(1993, 5.9);

echo json_encode($metals);

?>
Posted by: Guest on October-02-2021

Browse Popular Code Answers by Language