Code:
<?php
$x[]=70;
$x[]=90;
$x[]=40;
$x3 = array(70,90,40);
print_r($x);
print_r($x3);
$x1[]="abc";
$x1[]="xyz";
$x1[]="mnp";
print_r($x1);
$x2['a']="abc";
$x2['b']="xyz";
$x2['c']="mnp";
$x4 = array('a'=>'abc','b'=>'xyz','c'=>'mnp');
print_r($x2);
print_r($x4);
?>
Comments
Post a Comment