aarslank Posted May 29, 2003 Posted May 29, 2003 Where is this parse error coming from??? Parse error: parse error, unexpected T_STRING in /home/designersupplyco.com/httpdocs/admin/configuration.php(109) : eval()'d code on line 1 I looked into configuration.php 108>> if ($cInfo->set_function) { 109>> eval('$value_field = ' . $cInfo->set_function . "'" . $cInfo->configuration_value . "');"); 110>> } else { 111>> $value_field = tep_draw_input_field('configuration_value', $cInfo->configuration_value); Thanks for your help.
♥olby Posted May 29, 2003 Posted May 29, 2003 109>> eval('$value_field = ' . $cInfo->set_function . "'" . $cInfo->configuration_value . "');"); Seems to have the wrong mix of "'s and 's. It should look like this: eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value) . '");'); HTH Best Regards olby
Recommended Posts
Archived
This topic is now archived and is closed to further replies.