- Code: Select all
banner_type = '$banner_type', banner_width = '$banner_width', banner_height = '" . str_replace("\'", "''", $banner_width) . "',
Should be:
- Code: Select all
banner_type = '$banner_type', banner_width = '$banner_width', banner_height = '$banner_height',
Line 610 (a break in the line, caused database error for me):
- Code: Select all
VALUES ('$banner_id','" . str_replace("\'", "''", $banner_name) . "', '$banner_active', '$banner_spot', '" . str_replace("\'", "''", $banner_description) . "', '" . str_replace("\'", "''", $banner_url) . "', '$banner_click', '$banner_view', '".$owner['user_id']."', '$banner_level', '$banner_level_type', '$time_type', '$time_begin', '$time_end', '$date_begin', '$date_end', '" . str_replace("\'", "''", $banner_comment) . "','$banner_type',ø'" . str_replace("\'", "''", $banner_width) . "','" . str_replace("\'", "''",
$banner_height) . "','$banner_filter','$banner_filter_time','$banner_weigth')";
Should be:
- Code: Select all
VALUES ('$banner_id','" . str_replace("\'", "''", $banner_name) . "', '$banner_active', '$banner_spot', '" . str_replace("\'", "''", $banner_description) . "', '" . str_replace("\'", "''", $banner_url) . "', '$banner_click', '$banner_view', '".$owner['user_id']."', '$banner_level', '$banner_level_type', '$time_type', '$time_begin', '$time_end', '$date_begin', '$date_end', '" . str_replace("\'", "''", $banner_comment) . "','$banner_type',ø'" . str_replace("\'", "''", $banner_width) . "','" . str_replace("\'", "''", $banner_height) . "','$banner_filter','$banner_filter_time','$banner_weigth')";


