🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Rob Salaman
    Rob Salaman
    1,915 Points

    I can't preview because the preview button doesn't work

    Posted June 3, 2015 11:11am by Rob Salaman
    Rob Salaman
    1,915 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    1 Answer

  • Juliette Tworsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points

    Stage 6- Working with functions

    Posted March 26, 2015 8:26pm by Juliette Tworsey
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    1 Answer

  • Zeljko Lazic
    Zeljko Lazic
    1,980 Points

    <?php $numbers = array(1,5,8); echo "Sum is :" . array_sum($numbers); ?>

    Posted March 9, 2015 11:48am by Zeljko Lazic
    Zeljko Lazic
    1,980 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    3 Answers

  • MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points

    stage 6 challenge 1

    Posted January 19, 2015 9:57am by MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    2 Answers

  • Eric Chunn
    Eric Chunn
    6,588 Points

    array_sum confusion

    Posted December 29, 2014 11:07pm by Eric Chunn
    Eric Chunn
    6,588 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    2 Answers

  • Beezer Lewinsky
    Beezer Lewinsky
    606 Points

    I have no idea how to use the array_sum function

    Posted November 6, 2014 11:37pm by Beezer Lewinsky
    Beezer Lewinsky
    606 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    4 Answers

  • Fabrizio Rinaldi
    Fabrizio Rinaldi
    5,359 Points

    array_sum()

    Posted July 14, 2014 10:02pm by Fabrizio Rinaldi
    Fabrizio Rinaldi
    5,359 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    2 Answers

  • daniwao
    daniwao
    13,125 Points

    What is wrong with this simple function?

    Posted June 23, 2014 6:27pm by daniwao
    daniwao
    13,125 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    3 Answers

  • Chloe Conn
    Chloe Conn
    3,217 Points

    what am I doing wrong?

    Posted May 23, 2014 7:32pm by Chloe Conn
    Chloe Conn
    3,217 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    2 Answers

  • ammarkhan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points

    function quiz

    Posted April 24, 2014 7:57pm by ammarkhan
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    1 Answer

  • Stormy Silver
    Stormy Silver
    9,240 Points

    Help please

    Posted April 14, 2014 8:03pm by Stormy Silver
    Stormy Silver
    9,240 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    1 Answer

  • Evan Osczepinski
    Evan Osczepinski
    5,189 Points

    array_sum function challenge

    Posted April 12, 2014 6:00pm by Evan Osczepinski
    Evan Osczepinski
    5,189 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    4 Answers

  • ammarkhan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points

    Am i doing it wrong?

    Posted April 8, 2014 2:32pm by ammarkhan
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    1 Answer

  • jason taylor
    jason taylor
    2,455 Points

    array_sum help

    Posted February 21, 2014 10:32am by jason taylor
    jason taylor
    2,455 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    2 Answers

  • Ernst van Megen
    Ernst van Megen
    3,541 Points

    I'm stuck at functions

    Posted February 12, 2014 11:48am by Ernst van Megen
    Ernst van Megen
    3,541 Points
    • PHP
    • Build a Simple PHP Application
    • Working With Functions
    • Introducing Functions

    4 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.