🤑 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
  • Rob Edgar
    Rob Edgar
    8,325 Points

    Workspace preview getting a server error 500. Can anyone help me?

    Posted February 23, 2016 3:37pm by Rob Edgar
    Rob Edgar
    8,325 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    0 Answers

  • Andrew Lenti
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Andrew Lenti
    Front End Web Development Techdegree Student 7,193 Points

    How do i access the downloadable files?

    Posted January 29, 2016 11:49am by Andrew Lenti
    .a{fill-rule:evenodd;}techdegree
    Andrew Lenti
    Front End Web Development Techdegree Student 7,193 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Gonzalo Blasco
    Gonzalo Blasco
    11,927 Points

    double vs float?

    Posted December 30, 2015 2:02am by Gonzalo Blasco
    Gonzalo Blasco
    11,927 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • DALE PETERSEN
    DALE PETERSEN
    6,773 Points

    Comments appear

    Posted December 21, 2015 1:38am by DALE PETERSEN
    DALE PETERSEN
    6,773 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Daniel Dou
    Daniel Dou
    2,014 Points

    Problem With This Lesson (PHP: Integers) And Previous Lessons

    Posted November 24, 2015 2:18am by Daniel Dou
    Daniel Dou
    2,014 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    0 Answers

  • Katie O'Connell
    PLUS
    Katie O'Connell
    Courses Plus Student 23,728 Points

    Hey! So for some reason the Workspace's preview functionality doesn't seem to be working. Server error 500

    Posted October 21, 2015 1:21pm by Katie O'Connell
    Katie O'Connell
    Courses Plus Student 23,728 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    1 Answer

  • William Twiner
    William Twiner
    2,605 Points

    I understand gettype, but..

    Posted August 25, 2015 7:43pm by William Twiner
    William Twiner
    2,605 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Jeffrey Cunningham
    Jeffrey Cunningham
    5,592 Points

    welp, this is not good.

    Posted August 6, 2015 4:25am by Jeffrey Cunningham
    Jeffrey Cunningham
    5,592 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Mohan Babu Vejendla
    Mohan Babu Vejendla
    1,315 Points

    What is different between Integer and String ??

    Posted July 22, 2015 8:04am by Mohan Babu Vejendla
    Mohan Babu Vejendla
    1,315 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    4 Answers

  • Rami Awar
    Rami Awar
    5,435 Points

    What's the background music used when declaring the data types? :')

    Posted July 1, 2015 1:21pm by Rami Awar
    Rami Awar
    5,435 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    1 Answer

  • Adam Siwiec
    Adam Siwiec
    12,070 Points

    Camel Case in PHP??

    Posted June 26, 2015 5:58pm by Adam Siwiec
    Adam Siwiec
    12,070 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Andrew Gay
    Andrew Gay
    20,893 Points

    "I'll put a document for gettype in the notes"

    Posted May 11, 2015 1:36pm by Andrew Gay
    Andrew Gay
    20,893 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    1 Answer

  • rowellcarloscanlas
    rowellcarloscanlas
    2,500 Points

    Previewing codes doesn't work.

    Posted March 8, 2015 3:50pm by rowellcarloscanlas
    rowellcarloscanlas
    2,500 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Juliette Tworsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points

    Hi, When I hit preview I am getting a blank page with this url: http://port-80-fofumhzvf3.treehouse-app.com

    Posted March 3, 2015 6:31pm by Juliette Tworsey
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    4 Answers

  • fernando anderson
    fernando anderson
    4,781 Points

    gettype($one) is returning a blank page.

    Posted February 25, 2015 3:51am by fernando anderson
    fernando anderson
    4,781 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    0 Answers

  • Michael Levett
    Michael Levett
    3,111 Points

    Workspace showing blank page?

    Posted February 18, 2015 8:16pm by Michael Levett
    Michael Levett
    3,111 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    1 Answer

  • Timur Uzel
    PLUS
    Timur Uzel
    Courses Plus Student 3,383 Points

    When i gettype(1.1) it returns a double, not a float. Why is this?

    Posted January 5, 2015 5:48am by Timur Uzel
    Timur Uzel
    Courses Plus Student 3,383 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • Tristan Nederhoff
    PLUS
    Tristan Nederhoff
    Courses Plus Student 2,221 Points

    Calculation strings with integers

    Posted November 24, 2014 4:07pm by Tristan Nederhoff
    Tristan Nederhoff
    Courses Plus Student 2,221 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    3 Answers

  • Adam Slaker
    Adam Slaker
    9,995 Points

    Integers and Floats

    Posted September 30, 2014 5:22pm by Adam Slaker
    Adam Slaker
    9,995 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    2 Answers

  • KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points

    $1 as a variable

    Posted August 29, 2014 9:55pm by KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points
    • PHP
    • PHP Basics (Retired)
    • PHP Datatypes
    • Integers

    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.