Create IMG with PHP

Why this code is not working? Debuggers has disappointed me!

if($data_messages["Type"] == "File") {
    echo "<img href='http://rtc.rf.gd/";
    echo $data_messages["Message"];
    echo "'/>";
   };