Answers for "array_push function using tax_query array in php"

PHP
1

array_push php

<?php
$cesta = array("laranja", "morango");
array_push($cesta, "melancia", "batata");
print_r($cesta);
?>
Posted by: Guest on April-26-2020
-1

how to push associative array in php

$arr = array(

  "name" => "jonh",
  "Mob" => "588555",
  "Email" => "[email protected]"

);

$arr['Country'] = "United State";
Posted by: Guest on December-16-2021

Browse Popular Code Answers by Language