๐Ÿค‘ 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
  • Frank D
    Frank D
    14,042 Points

    Why $email_body = to itself and don't get overridden?

    Posted April 25, 2015 6:44pm by Frank D
    Frank D
    14,042 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    1 Answer

  • Sharon Anderson
    Sharon Anderson
    3,192 Points

    Problem with concatenation returning 0's instead of entered text in Contact Form lesson of PHP.

    Posted April 9, 2015 3:42pm by Sharon Anderson
    Sharon Anderson
    3,192 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    2 Answers

  • Domnick Knowlton
    PLUS
    Domnick Knowlton
    Courses Plus Student 2,437 Points

    Message not popping up!

    Posted March 10, 2015 2:21am by Domnick Knowlton
    Domnick Knowlton
    Courses Plus Student 2,437 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    2 Answers

  • adrien kovanic
    adrien kovanic
    5,727 Points

    email not puping up

    Posted March 1, 2015 6:49pm by adrien kovanic
    adrien kovanic
    5,727 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    1 Answer

  • giorgi shervashidze
    PLUS
    giorgi shervashidze
    Courses Plus Student 394 Points

    instead of assigning $_POST values to $email_body one by one, cant we just assign them all at once? see the code below

    Posted February 11, 2015 3:57pm by giorgi shervashidze
    giorgi shervashidze
    Courses Plus Student 394 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    2 Answers

  • gyatmnucla
    gyatmnucla
    7,618 Points

    += in php

    Posted February 4, 2015 2:37pm by gyatmnucla
    gyatmnucla
    7,618 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    1 Answer

  • MUHAMMAD KHAN
    MUHAMMAD KHAN
    1,508 Points

    Index Error

    Posted November 8, 2014 11:32am by MUHAMMAD KHAN
    MUHAMMAD KHAN
    1,508 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    4 Answers

  • Aaron Lafleur
    Aaron Lafleur
    10,474 Points

    Could someone explain the logical process of this expression? confused...

    Posted October 5, 2014 1:59am by Aaron Lafleur
    Aaron Lafleur
    10,474 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    7 Answers

  • balraj sarai
    balraj sarai
    6,303 Points

    unidentified index

    Posted October 2, 2014 2:42pm by balraj sarai
    balraj sarai
    6,303 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    3 Answers

  • Stavros Anastasiadis
    PLUS
    Stavros Anastasiadis
    Courses Plus Student 7,984 Points

    Break line "\n"

    Posted June 20, 2014 8:41pm by Stavros Anastasiadis
    Stavros Anastasiadis
    Courses Plus Student 7,984 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    1 Answer

  • Tibor Ruzinyi
    Tibor Ruzinyi
    17,968 Points

    Why to set a variable to blank ?

    Posted June 16, 2014 6:21pm by Tibor Ruzinyi
    Tibor Ruzinyi
    17,968 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    2 Answers

  • Jerett Patterson
    Jerett Patterson
    323 Points

    Breaks not taking with my code - seems to identical

    Posted May 15, 2014 3:30am by Jerett Patterson
    Jerett Patterson
    323 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    2 Answers

  • ammarkhan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points

    Concatenation

    Posted March 17, 2014 8:16am by ammarkhan
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

    1 Answer

  • Ivรกn Uruchurtu
    Ivรกn Uruchurtu
    7,264 Points

    I have a mess on my head with this variable.

    Posted February 23, 2014 6:52am by Ivรกn Uruchurtu
    Ivรกn Uruchurtu
    7,264 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace

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