is there a good way to duplicate the existing values in an array and append them to the same array? Here's what I can think pf
PHP
$names = array('Tom', 'Dick', 'Hairy');
$names_new = $names;
$duplication = 3;
for($i = 0; i < $duplication; $i++) {
for($j = 0; $j < count($names); $j++) {
$names_new[] = $names[$j];
}
}