Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics Unit Converter Manipulating Numbers

Andrew Dovganyuk
Andrew Dovganyuk
10,633 Points

Hi I dont understand what you mean Add 5 to $intengerOne, you mean + 5 to $intengerOne or make $intergerOne = 5; ???

Hi I dont understand what you mean Add 5 to $intengerOne, you mean + 5 to $intengerOne or make $intergerOne = 5; ? Please help to understand what I need to do!

index.php
<?php

//Place your code below this comment
$integerOne = 1;
$integerTwo = 2;
?>

1 Answer

The code challenge wants your to add 5 to the current value of $integerOne and assign that value back to $integerOne.

Try adding this to the end of the script:

$integerOne = $integerOne + 5

Or, the shorthand way, you could also do this:

$integerOne += 5

Good luck! ~alex

No problem :)

Can you give a "Best Answer" so this question will appear "answered" in the Community? Thank you!