fetch_all(array('modreasons', 'userreasons')); foreach($settings as $key => $data) { $data = str_replace(array("\r\n", "\r"), array("\n", "\n"), $data); $data = explode("\n", trim($data)); savecache($key, $data); } } ?>