hello,
i have a mistake on my site
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mallorc1/public_html/mpcp/core/core.functions.php(634) : eval()‘d code on line 276
in the view source is following code:
core.functions.php(634)
return eval('?>'.$str.'<?php ');
Hope somebody can help!!
/** ----------------------------------------
/** Replace variables
/** ----------------------------------------*/
function var_swap($str, $data)
{
if ( ! is_array($data))
{
return FALSE;
}
foreach ($data as $key => $val)
{
$str = str_replace('{'.$key.'}', $val, $str);
}
return $str;
}
/* END */The code line 276 is blank!