Answers for "php put in key and value to array"

PHP
0

php array push with key

<?php
$a=array("a"=>"red","b"=>"green");
array_push($a,"blue","yellow");
print_r($a);
?>
Posted by: Guest on March-08-2021
0

php array push key value

<?php
$image[0] = $image[0].','.$filename;
?>
Posted by: Guest on October-21-2020

Code answers related to "php put in key and value to array"

Browse Popular Code Answers by Language