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 trialAndrew Dovganyuk
10,633 PointsHi 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!
<?php
//Place your code below this comment
$integerOne = 1;
$integerTwo = 2;
?>
1 Answer
Alexander Davison
65,469 PointsThe 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
Andrew Dovganyuk
10,633 PointsAndrew Dovganyuk
10,633 PointsThanks :)
Alexander Davison
65,469 PointsAlexander Davison
65,469 PointsNo problem :)
Can you give a "Best Answer" so this question will appear "answered" in the Community? Thank you!