• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Shakillia Bobo
    Shakillia Bobo
    2,671 Points

    How is '$a' equal to Treehouse?

    Posted June 10, 2020 2:10pm by Shakillia Bobo
    Shakillia Bobo
    2,671 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    2 Answers

  • Katie Taira
    Katie Taira
    2,836 Points

    I don't understand this conditional

    Posted May 26, 2020 4:24am by Katie Taira
    Katie Taira
    2,836 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Ray Thomas
    Ray Thomas
    12,478 Points

    uhhhh you sure there?

    Posted September 5, 2019 5:56pm by Ray Thomas
    Ray Thomas
    12,478 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Peninah Adler
    Peninah Adler
    3,843 Points

    Quiz result said that a variable was assigned, not compared -- trying to understand.

    Posted August 8, 2019 2:15pm by Peninah Adler
    Peninah Adler
    3,843 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    3 Answers

  • Garrett Peters
    Garrett Peters
    6,039 Points

    Is there an else missing in this quiz question?

    Posted July 29, 2019 10:13pm by Garrett Peters
    Garrett Peters
    6,039 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    2 Answers

  • Peter Buckwalter
    Peter Buckwalter
    6,846 Points

    I don't understand why Hello "Alana, welcome to tree house" is the correct answer? $a = "Alana" not Treehouse.

    Posted May 11, 2018 2:09pm by Peter Buckwalter
    Peter Buckwalter
    6,846 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Thomas Minnefor
    Thomas Minnefor
    7,766 Points

    quiz question

    Posted January 26, 2018 3:36am by Thomas Minnefor
    Thomas Minnefor
    7,766 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Teacher Russell
    Teacher Russell
    16,873 Points

    php arrays and control structure quiz question 1 of 5

    Posted November 8, 2017 1:27am by Teacher Russell
    Teacher Russell
    16,873 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Francois-Victor LOUVEL
    Francois-Victor LOUVEL
    1,405 Points

    Would'nt "if ($a = "Treehouse") {}" return an error ?

    Posted August 27, 2017 9:45am by Francois-Victor LOUVEL
    Francois-Victor LOUVEL
    1,405 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Chris Seals
    Chris Seals
    4,506 Points

    Trouble with this if statement.

    Posted June 22, 2017 7:35pm by Chris Seals
    Chris Seals
    4,506 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Kat Cuccia
    Kat Cuccia
    786 Points

    This is not an if-else statement, so it should display what the final echo says, but it said that was incorrect?

    Posted June 11, 2017 12:46am by Kat Cuccia
    Kat Cuccia
    786 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • omer cohen
    omer cohen
    2,549 Points

    how can i check what is the right answer ?

    Posted April 17, 2017 7:05pm by omer cohen
    omer cohen
    2,549 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    2 Answers

  • Adrian Tanta
    Adrian Tanta
    467 Points

    hello please check this quiz the question number one is not correct in my opionion, D is the correct answer.

    Posted March 24, 2017 5:35pm by Adrian Tanta
    Adrian Tanta
    467 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    1 Answer

  • Holly Pepper
    Holly Pepper
    7,551 Points

    What will be displayed in a browser when the following PHP code is executed: - think a answer is wrong

    Posted September 6, 2016 6:44am by Holly Pepper
    Holly Pepper
    7,551 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    8 Answers

  • David Granados Hernandez
    David Granados Hernandez
    997 Points

    Why there is an assigment in the "if" condition?

    Posted August 19, 2016 5:15pm by David Granados Hernandez
    David Granados Hernandez
    997 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    0 Answers

  • Aaron Coursolle
    Aaron Coursolle
    18,014 Points

    The value "Treehouse" is ASSIGNED...

    Posted August 15, 2016 4:44pm by Aaron Coursolle
    Aaron Coursolle
    18,014 Points
    • PHP
    • PHP Arrays and Control Structures
    • PHP Conditionals
    • Compare

    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

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

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

  • Perks
  • Treehouse for Libraries
  • Treehouse for Teams
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2022 Treehouse Island, Inc.