how to add value in array in php

How to Add more value in php array 
<?php


array_push
(array name ,value1,value2,value3,....);


$ss=array(); // array declaration

array_push($ss,'val1');  // array name , value
?>

Comments

Popular posts from this blog

Call PHP Function In JavaScript Using Ajax

List of Post Category Wise in wordpress