Guest Posted December 1, 2005 Share Posted December 1, 2005 I think i got a mental block. I installed the COD + COP contrib and have the following error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Domains\homesweetholland.co.uk\wwwroot\catalog\new\admin\includes\functions\html_output.php on line 313 // Output a form pull down multiselect menu function tep_draw_pull_multiselect_menu($name, $values, $defaults, $parameters = '') { $field = '<select multiple name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>' . "\n"; 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 (in_array($values[$i]['id'], $defaults)) { $field .= ' SELECTED'; } 313: $field .= '>' . tep_output_string($values[$i]['text'], array('"' '"'=> '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; return $field; } I have put a 313 infront of the line., but i cannot see an error with it. Anyone see the problem? Cheers, Giovanna Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.