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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
      • • Vibe Coding
    • Showing results for:
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Working with Concatenation and Whitespace
    • Close
  • Frank D
    Frank D
    14,042 Points

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

    Posted on Apr 25, 2015 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 on Apr 9, 2015 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 on Mar 10, 2015 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 on Mar 1, 2015 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 on Feb 11, 2015 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 on Feb 4, 2015 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 on Nov 8, 2014 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 on Oct 5, 2014 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 on Oct 2, 2014 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 on Jun 20, 2014 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 on Jun 16, 2014 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 on May 15, 2014 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 on Mar 17, 2014 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 on Feb 23, 2014 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.