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
Insert the following HTML outside PHP brackets and it should work according to the way you posted it. I’m making a few assumptions, one being that the link you posted wraps the image code and that the PHP variables turn the image into valid code.