🤑 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Keegan Kemp
    Keegan Kemp
    1,986 Points

    I cannot download the list.php file.

    Posted May 24, 2022 8:30pm by Keegan Kemp
    Keegan Kemp
    1,986 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    1 Answer

  • Oliver Whittaker
    Oliver Whittaker
    7,054 Points

    I cannot download the list.php file

    Posted February 2, 2022 3:17pm by Oliver Whittaker
    Oliver Whittaker
    7,054 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    1 Answer

  • Lylie Lylie
    Lylie Lylie
    10,872 Points

    Download file doesn't work

    Posted October 23, 2019 6:59am by Lylie Lylie
    Lylie Lylie
    10,872 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    2 Answers

  • Chaitanya Tambe
    Chaitanya Tambe
    2,970 Points

    How do i preview workspaces in a browser?

    Posted July 25, 2018 9:28pm by Chaitanya Tambe
    Chaitanya Tambe
    2,970 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    1 Answer

  • Charles Loehle
    Charles Loehle
    8,443 Points

    My code not displaying index zero of the array

    Posted December 22, 2017 5:06pm by Charles Loehle
    Charles Loehle
    8,443 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    1 Answer

  • Fuzz Abus
    Fuzz Abus
    3,106 Points

    The majority of this course is just listening to this lady speak on and on. Barely any self practice or application.

    Posted November 21, 2017 2:21pm by Fuzz Abus
    Fuzz Abus
    3,106 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    2 Answers

  • Piyush Patel
    Piyush Patel
    17,253 Points

    Why does my workspace never show me the desired result?

    Posted December 9, 2016 3:47am by Piyush Patel
    Piyush Patel
    17,253 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    4 Answers

  • Ryan Lucas
    Ryan Lucas
    6,946 Points

    Help with previous for looping objective.

    Posted December 5, 2016 11:36am by Ryan Lucas
    Ryan Lucas
    6,946 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    3 Answers

  • Dhruv Kapoor
    Dhruv Kapoor
    2,902 Points

    When we use foreach loop to create $key=$item, how is $key storing numerical values and how are $item being initialised

    Posted October 7, 2016 6:19am by Dhruv Kapoor
    Dhruv Kapoor
    2,902 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    1 Answer

  • Eric C
    Eric C
    7,998 Points

    my output for the exercise functions correctly but I still have \n\n\n\n\n\n\ echoing in the middle

    Posted September 26, 2016 11:39pm by Eric C
    Eric C
    7,998 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    1 Answer

  • Hazem mosaad
    Hazem mosaad
    15,384 Points

    for looping challenge task it work in my wamp server and when try it in the site its appear Oops! It looks like Task 1 !

    Posted August 20, 2016 7:21pm by Hazem mosaad
    Hazem mosaad
    15,384 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops

    2 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.