This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Eliheyder Qubatov
almost 11 years

Oops, try again! It looks like your function doesn't echo or print anything!

What’s wrong in this code:

?>
</body>

Answer 52130ae080ff335344001eda

6 votes

Permalink

I used print_r instead of print, and strangely, it helped

    function displayName() {
        print_r ("Dmitriy");
    }
    
  
points
Submitted by V3N0m21
over 10 years

2 comments

Naxxos84 over 10 years

this really helps… eventhough i don’t knwo why :D

Yee Joo over 10 years

thanks…

Answer 51f7ab389c4e9dafa000304c

3 votes

Permalink

There you got good code . Jacob you forgot puted the semicole after “print “Jake”; }:”.

points
Submitted by optymalnyX
over 10 years

Answer 51e59d577c82ca5cc9000046

1 vote

Permalink

I have a same problem. And would like to have answer too…

answer here

points
Submitted by Oleg Bodyansky
almost 11 years

Answer 51e5c7217c82caaf8a000236

1 vote

Permalink

I have found answer.1 refresh the page;2 reset code;3copy the hint;4 paste and edit the hint;(I am sorry for grammatic errors.My english is not good :( )

points
Submitted by Eliheyder Qubatov
over 10 years

1 comments

Cameron McIntyre over 10 years

Thank you! This worked perfectly

Answer 51e5ab608c1ccc6c2400004a

-2 votes

Permalink

I ALSO have the same problem:

points
Submitted by Jacob Tooman
over 10 years