Problem after upgrade PHP 5 with array-merge
| From: | PHP Question | Date: | Mon, 24 Jan 2005 20:44:56 +0000 |
| Subject: | Problem after upgrade PHP 5 with array-merge | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-207166@lists.php.net to get a copy of this message | ||
Dear all,
After my provider decided to upgrade PHP to version 5, i'm getting the following error:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array.
This is the line where it gets stuck:
$_SESSION['aanhefmr'] = array_merge($_SESSION['aanhefmr'],
$_POST['aanhefmr']);
How can i convert it properly to PHP 5? I've wrote this two years ago.. So my mind let me down
a little.
Somebody help?
THANKS!!!!!!!
Frank