Well, all you need to do is comment out a " instead another set of "'s by using a backslash. For example:
echo "<img src=\"pic.jpg\" onMouseOver=\"this.src='pic2.jpg'\">";
Hopefully this forum will not confuse itself and mess up my code 🙂
Hope this helps,
-Josh B