Bug at 3.Creating your first array


#1

Hi, well I don't know what's wrong with my code and I have tried everything that possible. But I'm still stuck at this exercise.
I have tried refresh my browser, delete my history browser, everything (well yes I'm exaggerating.. :smile_cat: )
But I still got an error message that tells me I forgot to input at least three elements, otherwise the submit button suddenly got freeze and not responding.. I am using chrome but is it affected?
Here's my code:



My First Array



<?php
$friends= array("Jos P","Kab S", "Pain S","Sat");
print_r($friends);
?>




#2

PHP tends to have some errors with codecademy. Try a different browser.


#3

you might need to just either go into view code and then exit or refresh the page


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.