Title: widichamp's Replies | WordPress.org

---

# widichamp

  [  ](https://wordpress.org/support/users/widichamp/)

 *   [Profile](https://wordpress.org/support/users/widichamp/)
 *   [Topics Started](https://wordpress.org/support/users/widichamp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/widichamp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/widichamp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/widichamp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/widichamp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/widichamp/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help code to allow user to add there logo](https://wordpress.org/support/topic/help-code-to-allow-user-to-add-there-logo/)
 *  [widichamp](https://wordpress.org/support/users/widichamp/)
 * (@widichamp)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/help-code-to-allow-user-to-add-there-logo/#post-6252898)
 * Hello guys,
    I was making some changes on my function.php file but suddenly last
   line was removed and not i am getting an error “Parse error: syntax error, unexpected‘?
   > ‘ in /home/civude/public_html/wp-content/themes/smallbiz/functions.php on line
   1444”
 * Please tell me how do i close my function.php file?
    here is last few lines from
   my php file.
 * // update frontpage — don’t include this with the others to avoid confusion with
   non-smallbiz
    // page_on_front. if(isset($_POST[‘smallbiz_page_on_front’])){ 
   update_option(‘smallbiz_page_on_front’, stripcslashes($_POST[‘smallbiz_page_on_front’]));}
 *  // Update photo
 *  if($_POST[‘banner’] == “” && $_FILES[‘new_banner’][‘tmp_name’] != “”){
    // No
   longer remove old files. //unlink(dirname(__FILE__).’/images/banners/’.get_option(‘
   smallbiz_banner’)); $newFileName = str_replace(” “, “_”, $_FILES[‘new_banner’][‘
   name’]); @move_uploaded_file($_FILES[‘new_banner’][‘tmp_name’], dirname(__FILE__).‘/
   images/banners/’. $newFileName);
 *  update_option(‘smallbiz_banner’, $newFileName);
 *  } else if($_POST[‘banner’] != get_option(‘smallbiz_banner’)){
    update_option(‘
   smallbiz_banner’, stripcslashes($_POST[‘banner’])); }
 *  if($_FILES[‘page_image’][‘tmp_name’] != “”){
 *  unlink(dirname(__FILE__).’/images/’.get_option(‘smallbiz_page

Viewing 1 replies (of 1 total)