This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Functions, Part I Forum

View Course » View Exercise

67 points
E161cf5418023e876d9481716b746d79?s=140&d=retro
Submitted by
Nagraj Suligavi
over 3 years ago

I am not able to go to next level..... Why ?

<?php

$sports = array();

arraypush($sports, "Soccer");
array
push($sports, "Hockey");
arraypush($sports, "Basketball");
array
push($sports, "Netball");
array_push($sports, "Archery");

print count($sports);
//echo $result;
?>

Output is:
5

Error:
Oops, try again. The printed output should be an integer.


1 vote

permalink

Problem Solved !!
I was missing tag :(

67 points
E161cf5418023e876d9481716b746d79?s=140&d=retro
Submitted by
Nagraj Suligavi
over 3 years ago


0 votes

permalink

alt text
EXPLAIN THIS TO ME NOW

651 points
1cd44f6b22536d9ffeedafda1fa3f056?s=140&d=retro
Submitted by
yassin1999
almost 3 years ago