any idea how it works ?
$arr = array (‘field_1’, ‘field_2’);
foreach ($arr as $field_name)
{
if ($this -> $field_name = 0)
{
sc_field_style ($field_name, ‘’, ‘’, ‘#CF5353’, ‘’, ‘bold’);
}
else
{
}
}
above code generates no errors, but the style doesn’t change ? btw, all fields are integers.