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

New No-Code Track! 🚀 New videos dropping every week—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
  • 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.

    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.