In PHP how do you know if you should use each form of echo, and what is the proper uses for each:
with the period:
 echo"<div>
        <img src='".$row['image']."'>
        ".$row['text']."
    </div>
with the comma:
echo"<div>
    <img src='",$row['image'],"'>
    ",$row['text'],"
</div>
with the {}:
echo"<div>
    <img src='{$row['image']}'>
    {$row['text']}
</div>
preset:
$image=$row['image'];
$text=$row['text'];
    echo"<div>
        <img src='$image'>
        $text
    </div>
More specifically I'm looking for the difference in how PHP will add the text to the HTML dump on the front end.
 
     
     
    