Answers for "push key value array php"

PHP
4

push key value array php

$a = array("key1"=>"value1", "key2"=>"value2");

// to append "key3" - "value3":
$a["key3"] = "value3"
Posted by: Guest on August-23-2021

Browse Popular Code Answers by Language