note 22125 deleted from function.array-merge by sniper
| From: | sniper@php.net | Date: | Mon, 06 Oct 2003 22:55:06 +0000 |
| Subject: | note 22125 deleted from function.array-merge by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57920@lists.php.net to get a copy of this message | ||
Note Submitter: BB
----
I couldn't get the + to work, instead I used:
foreach($array1 as $key => $val) {
$result[] = $val;
}
foreach($array2 as $key => $val) {
$result[] = $val;
}