Question
trouble echoing image
I always get confused using " and '. here is my code, where i am trying to echo out an image:
echo "<td>". if($attachment==1) { echo"<img src='http://mysite.com/images/attachment.png' width='20' height='20' />"; } ."</td>";
How do i rewrite this so I no longer get an error?
