Hi I am very new to php and have been trying to build a CMS hich until know has been going OK this section of code it giving me a syntax error, unexpected T_STRING. this problem is coming at the line with Fetch implementations from cache. I as hoping that someone maybe able to point me in the right direction with it as i keep drewing a blank
if ($reset) {
$implementations = array();
cache_set('module_implements', array(), 'cache_bootstrap');
mackay_static_reset('module_hook_info');
mackay_static_reset('mackay_alter');
cache_clear_all('hook_info', 'cache_bootstrap');
return;
}
Fetch implementations from cache.
if (empty($implementations)) {
$implementations = cache_get('module_implements', 'cache_bootstrap');
if ($implementations === FALSE) {
$implementations = array();
}
else {
$implementations = $implementations->data;
}
I thank you all for your time
Alex, Newby