how to insert this javascript code :
thejavascript
<A HREF="javascript:void(0)" onclick="window.open('welcome.html','welcome')"> </A>
inside img src in php
<img src="http:'.$iv[$j].'.jpg" height="220" width="200" alt="Image '.ucwords($kw).'" "thejavascript">
Thanks