Hello!
I want to solve it so that you don't have to write this in 3 lines but in array form.
PHP Code:
$cachedData['invites'] = $inv;
$cachedData['seedbonus'] = $cache;
$cachedData['bonuscomment'] = $bonuscomment1;
$memcache->replace($key, $cachedData, false, 3600);
I mean something like this:
PHP Code:
$cachedData = ['invites'=> $inv,'seedbonus'=> $cache,'bonuscomment'=> $bonuscomment1];
$memcache->replace($key, $cachedData, false, 3600);
But it doesn't work. Anyone know a solution?
The data is stored in an array:
http://prntscr.com/13bfd0k
Thanks for the help!