Beezer2005 Posted March 8, 2005 Share Posted March 8, 2005 just installed the On-the-fly thumbnail generator but every time I change the text in the output-html file I get the following error...I even changed back to an old html-output.php file in and everything works fine until I change it. Please help ASAP, My thumbnails look sad. Any help would be greatly appreciated!! heres the code where the error occurs and the error message. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/rubarts4/public_html/catalog/includes/functions/html_output.php on line 278 if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } line=278 $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.