Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • bilal agha
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    bilal agha
    PHP Development Techdegree Student 4,509 Points

    Console not showing output

    Posted July 16, 2020 10:25am by bilal agha
    .a{fill-rule:evenodd;}techdegree
    bilal agha
    PHP Development Techdegree Student 4,509 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    1 Answer

  • Kevin Karkhiran
    Kevin Karkhiran
    363 Points

    I follow along with the video but keep getting this message of undefined variable when I run the script

    Posted July 8, 2020 11:56pm by Kevin Karkhiran
    Kevin Karkhiran
    363 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    1 Answer

  • Siraj Khan
    Siraj Khan
    3,451 Points

    I have tried to make index.php and numbers.php files in my editor ATOM. I cannot see my results in the console.?

    Posted April 22, 2018 11:11am by Siraj Khan
    Siraj Khan
    3,451 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

  • Lindsay Wilson
    Lindsay Wilson
    11,223 Points

    Would love to know how you duplicate the code line so quickly without highlighting, copying and pasting - shortcut?

    Posted March 29, 2018 6:05pm by Lindsay Wilson
    Lindsay Wilson
    11,223 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

  • Cliff Jackson
    Cliff Jackson
    2,887 Points

    Number is displaying in the wrong place in the console

    Posted February 1, 2018 9:40pm by Cliff Jackson
    Cliff Jackson
    2,887 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

  • William Bentley
    PLUS
    William Bentley
    Courses Plus Student 6,601 Points

    getting Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /home/treehouse/workspace/numbers.php on line 9

    Posted January 10, 2018 3:24pm by William Bentley
    William Bentley
    Courses Plus Student 6,601 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    1 Answer

  • Faye Ma
    Faye Ma
    1,028 Points

    I've been following along but the console never print the result

    Posted November 7, 2017 8:40pm by Faye Ma
    Faye Ma
    1,028 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

  • Boris Voinov
    Boris Voinov
    305 Points

    Console does not show the result

    Posted July 9, 2017 8:30am by Boris Voinov
    Boris Voinov
    305 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    4 Answers

  • Ryan Sprouse
    Ryan Sprouse
    3,291 Points

    I have been following along with the php basics videos and when I run the php in workspace it doesn't run.

    Posted May 30, 2017 9:39pm by Ryan Sprouse
    Ryan Sprouse
    3,291 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

  • György Varga
    György Varga
    19,198 Points

    is_* function

    Posted May 24, 2017 4:10pm by György Varga
    György Varga
    19,198 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    1 Answer

  • Tomas Svojanovsky
    Tomas Svojanovsky
    26,680 Points

    Best practice - camel case vs. snake case

    Posted April 22, 2017 8:04am by Tomas Svojanovsky
    Tomas Svojanovsky
    26,680 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    1 Answer

  • Sufiyaan Haroon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sufiyaan Haroon
    Full Stack JavaScript Techdegree Student 9,558 Points

    What is a string?!?

    Posted March 21, 2017 2:27pm by Sufiyaan Haroon
    .a{fill-rule:evenodd;}techdegree
    Sufiyaan Haroon
    Full Stack JavaScript Techdegree Student 9,558 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

  • Kumbirai Ruth Huni
    Kumbirai Ruth Huni
    4,209 Points

    running the php in console

    Posted March 4, 2017 11:41am by Kumbirai Ruth Huni
    Kumbirai Ruth Huni
    4,209 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    3 Answers

  • Geet Aneja
    Geet Aneja
    2,091 Points

    Workspace not executing my php code even after I enter php numbers.php

    Posted January 20, 2017 10:38am by Geet Aneja
    Geet Aneja
    2,091 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    3 Answers

  • sapna rathore
    sapna rathore
    468 Points

    Hi, I'm not able to get the output in the console.

    Posted September 2, 2016 7:34pm by sapna rathore
    sapna rathore
    468 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    4 Answers

  • A X
    A X
    12,842 Points

    Not Understanding the difference between var_dump vs. gettype

    Posted August 20, 2016 8:04pm by A X
    A X
    12,842 Points
    • PHP
    • PHP Basics
    • Unit Converter
    • Integers

    2 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord