๐Ÿค‘ 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
    • 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
  • corbinb
    corbinb
    2,655 Points

    My code is not being echoed to the browse

    Posted March 23, 2019 12:25am by corbinb
    corbinb
    2,655 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • web pad
    web pad
    4,483 Points

    When writing the function name "is mike", why do we need to put an underscore between the two words? ("is_mike")?

    Posted June 11, 2018 10:09pm by web pad
    web pad
    4,483 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • Miguel Nunez
    Miguel Nunez
    3,266 Points

    When people try to explain what a return means in php what is it meant when they say this.

    Posted September 1, 2016 8:57am by Miguel Nunez
    Miguel Nunez
    3,266 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • Miguel Nunez
    Miguel Nunez
    3,266 Points

    In simple terms what is a Variable Scope (global)

    Posted August 25, 2016 5:37am by Miguel Nunez
    Miguel Nunez
    3,266 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    3 Answers

  • Stefano Salazar
    Stefano Salazar
    924 Points

    Can someone explain to me more details about ยจglobalยจ in php

    Posted May 24, 2016 11:57pm by Stefano Salazar
    Stefano Salazar
    924 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • Ellen Sun
    Ellen Sun
    1,605 Points

    How come the else statement is echoed?

    Posted August 31, 2015 6:25pm by Ellen Sun
    Ellen Sun
    1,605 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    3 Answers

  • Abe Layee
    Abe Layee
    8,378 Points

    PHP Quotation

    Posted August 10, 2015 6:52pm by Abe Layee
    Abe Layee
    8,378 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • ร˜yvind-Andreas Emanuelsen
    ร˜yvind-Andreas Emanuelsen
    2,867 Points

    When to use a single = and when to use a ==? To me they seem used interchangeably and can't find any explanation online.

    Posted June 15, 2015 1:53pm by ร˜yvind-Andreas Emanuelsen
    ร˜yvind-Andreas Emanuelsen
    2,867 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • MUZ140920 Kudakwashe Murungu
    MUZ140920 Kudakwashe Murungu
    6,316 Points

    Introducing Functions

    Posted June 10, 2015 9:13pm by MUZ140920 Kudakwashe Murungu
    MUZ140920 Kudakwashe Murungu
    6,316 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    2 Answers

  • Derek Markman
    Derek Markman
    16,291 Points

    Why didn't we close our php code block?

    Posted May 31, 2015 2:01am by Derek Markman
    Derek Markman
    16,291 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    2 Answers

  • michaeldavies3
    michaeldavies3
    23,152 Points

    What is the purpose of "global $current_user;"?

    Posted May 30, 2015 12:22pm by michaeldavies3
    michaeldavies3
    23,152 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    3 Answers

  • Vidit Shah
    Vidit Shah
    6,037 Points

    What's wrong with my php code?

    Posted May 13, 2015 4:06pm by Vidit Shah
    Vidit Shah
    6,037 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • Stephanie Roberts
    Stephanie Roberts
    16,757 Points

    PHP development workspace preview not working?

    Posted May 11, 2015 1:17pm by Stephanie Roberts
    Stephanie Roberts
    16,757 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • marvelousperson206
    marvelousperson206
    9,199 Points

    Can't preview PHP?

    Posted April 15, 2015 5:23am by marvelousperson206
    marvelousperson206
    9,199 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    2 Answers

  • Srinath Kattula
    Srinath Kattula
    1,574 Points

    echo function.

    Posted March 12, 2015 4:36am by Srinath Kattula
    Srinath Kattula
    1,574 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

    1 Answer

  • Kittikhun Subdee
    PLUS
    Kittikhun Subdee
    Courses Plus Student 45 Points

    hello

    Posted November 11, 2014 7:35am by Kittikhun Subdee
    Kittikhun Subdee
    Courses Plus Student 45 Points
    • PHP
    • PHP Functions
    • Introducing Functions
    • Introducing Functions

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