How to fix Fatal error: Call to undefined function mozg_cache()?

How to fix the error?
Fatal error: Call to undefined function mozg_cache() in /var/www/html/index.php on line 37


Line 37
<b>$CacheNews = mozg_cache('user_'.$user_info['user_id'].'/new_news');</b>
if($CacheNews){
 $new_news = "<div class="\"newNews2\"" style="\"margin-left:150px;margin-top:1px\"">{$CacheNews}</div>";
 $news_link = '/notifications';
}
June 7th 19 at 14:46
2 answers
June 7th 19 at 14:48
apparently to declare a function necessary...
And how can it be done? - Soledad_Kul commented on June 7th 19 at 14:51
June 7th 19 at 14:50
Forgot to attach the file that defines the function mozg_cache
And how to connect? - Soledad_Kul commented on June 7th 19 at 14:53
via require or require_once, like is normally connected to other scripts. - Soledad_Kul commented on June 7th 19 at 14:56

Find more questions by tags PHPWeb Development