PHP function of the day: array()

For day 5 of 21 in the “PHP Function of the day” series, I’m going to look at array().  Array() is what you use to create an array in PHP. Let’s take a look. <?php $array = array(1, 2, 3, 4); print_r($array); echo(“<br />”); $array = array(“Joe”, “Paul”, “Lisa”); print_r($array); echo(“<br />”); $array = array(“Name”=>”Joe”,”Address”=>”123 N Main …

Continue reading "PHP function of the day: array()"