Answers for "add an element to an object of an arrayphp"

PHP
3

add object in array php

$myArray = array("name" => "my name");
echo json_encode($myArray);
Posted by: Guest on April-27-2020

Code answers related to "add an element to an object of an arrayphp"

Browse Popular Code Answers by Language