hi there, i have looked for all the above mentioned errors but my html does not have any of the above although i get the same error
Strict Standards: Only variables should be passed by reference in /home/m6477630/public_html/wordpress/wp-content/plugins/wp-online-store/includes/functions/html_output.php on line 37
but this is what my file currently looks like
*/
function osc_draw_input_field($name, $value = null, $parameters = null, $override = true, $type = ‘text’) {
$field = ‘<input type=”‘ . $type . ‘” name=”‘ . $name . ‘” id=”‘ . $name . ‘”‘;
if ( ($key = $GLOBALS[$name]) || ($key = $GLOBALS[‘HTTP_GET_VARS’][$name]) || ($key = $GLOBALS[‘HTTP_POST_VARS’][$name]) || ($key = $GLOBALS[‘HTTP_SESSION_VARS’][$name]) && ($override) ) {
$field .= ‘ value=”‘ . $key . ‘”‘;
} elseif ($value != ”) {
$field .= ‘ value=”‘ . $value . ‘”‘;
}
if ($parameters) $field.= ‘ ‘ . $parameters;
$field .= ‘>’;
return $field;
}
function osc_draw_password_field($name, $parameters = null) {
return osc_draw_input_field($name, null, $parameters, false, ‘password’);
}
function osc_draw_hidden_field($name, $value) {
return ‘<input type=”hidden” name=”‘ . $name . ‘” value=”‘ . $value . ‘”>’;
}
?>