Answers for "array_push in php key value"

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

Browse Popular Code Answers by Language