array in php example August 12, 2012 Php Program: array.php <?php $myarray=array(1,2,3,4, 5 => 11, 26 => 2,5, 11 => 10); print_r($myarray); ?> Output: Thanks for reading this post…………!!! Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on X (Opens in new window) X Click to email a link to a friend (Opens in new window) Email Click to print (Opens in new window) Print Like this:Like Loading... Related Leave a comment