php join array to parenthesis

Solutions on MaxInterview for php join array to parenthesis by the best coders in the world

showing results for - "php join array to parenthesis"
Manuel
10 Jan 2017
1<?php
2
3$metals = array();
4$metals[] = array(1991, 6.5);
5$metals[] = array(1992, 4);
6$metals[] = array(1993, 5.9);
7
8echo json_encode($metals);
9
10?>
11
similar questions
queries leading to this page
php join array to parenthesis