do two arrarys automatically merge? when you use the same variables? eg,

$var = array();
// do array stuff here
// build...
$who[] = $var1;

$var = array();
// do array stuff here
//build...
$who[] = $var1;

now will $who automatically have both, or to i need to add+ them? or do i have to use different variables for each then add? or is it fine the way it is?

    You can print_r($who) to see what's in it but I can tell you it will have two elements, each containing an empty array

      just to be picky $who will cantain to elements both empty

      as $var1 is not set

      to answer the question thou it will work if var1 contain an array

        Write a Reply...