Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

most complicated task ina array in php

<?php$array = array();$array[] = 1;$array[] = 2; // get the first item in the arrayprint $array[0]; // prints 1 // get the last item in the arrayprint $array[count($array) - 1]; // prints 2
Source by www.hashbangcode.com #
 
PREVIOUS NEXT
Tagged: #complicated #task #ina #array #php
ADD COMMENT
Topic
Name
5+5 =