<help wanted> best practice to define an array 11-18-2012, 12:18 AM
#1
what is the way that I could define an array:
1.
2.
thanks
1.
PHP Code:
$arrayTest [1] ="one";
$arrayTest [2] ="two";
2.
PHP Code:
$arrayTest = array(1=>"one",2="two");
thanks


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)


![[Image: Z8KDe.png]](http://i.imgur.com/Z8KDe.png)