while reading you post about array_push(), i wanted to post something here to tell your visitors that they can also use the array_merge() function to join or merge two different arrays into one.

in you example, if you have two arrays like this:

$cars
$trucks

and you want to join into one, just do this

<php?
$vehicles = array_merge($cars,$trucks);
?>