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

🤑 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

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

  • 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
    • Showing results for:
    • PHP
    • PHP Arrays and Control Structures
    • PHP Loops
    • Foreach Loops
    • Close
  • Keegan Kemp
    Keegan Kemp
    1,986 Points

    I cannot download the list.php file.

    Posted on May 24, 2022 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 on Feb 2, 2022 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 on Oct 23, 2019 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 on Jul 25, 2018 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 on Dec 22, 2017 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 on Nov 21, 2017 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 on Dec 9, 2016 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 on Dec 5, 2016 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 on Oct 7, 2016 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 on Sep 26, 2016 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 on Aug 20, 2016 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.