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

1175 points
A5ba1285e8142aa3740cc08378e41d6c?s=140&d=retro
Submitted by
Reianna-Bryant
almost 3 years ago

No Result for an accepted code.

This is my code:
<!DOCTYPE html>





<?php
$myName = "Kristine";
?>



(There is stuff in the middle; it just won't show.)

The code passes just fine, but I get no result in the result box. Why is that?


0 votes

permalink

Well if we're just judging by the piece of code you've posted, it would be because you're not actually outputting anything.

echo $myName;

This would return the variable "myName" which is currently "Kristine".

Hope I helped you understand it.

661 points
0e06a1529331f8a71257039aae4f9ffc?s=140&d=retro
Submitted by
gtbsg2k1
almost 3 years ago