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 (Retired) PHP Datatypes PHP Datatypes Challenge

Challenge Task 6 of 7 in PHP Basics is not working. Im almost 100% that I did task 6 correctly. Keep returning to task 1

Challenge Task 6 of 7 in PHP Basics is not working. Im almost 100% that I did task 6 correctly. Keeps returning to task 1. WIll not let me move forward to task 7. Please help.

index.php
<?php

//Place your code below this comment

$integer_one = 1; 
$integer_two = 2; 

$golden = 1.618;

$bool = TRUE;

$colors = array('red', 'blue', 'green')

echo $colors[1];




?>

2 Answers

Jay Padzensky
Jay Padzensky
4,731 Points

Hi Jack,

Sorry for the troubles! Are you seeing an error associated with the submission of task 6? Occassionally, incorrect (or too much 'unanticipated') code could throw a Communication Error. It might be possible to copy/paste your question verbatim into the Community search bar to see if any other threads have been created about the task in question. I hope this helps some!

Thanks, ya I think it was some communication error like you said, I closed it all down and then went back into it and it worked fine. Thanks for your help.