I'm attempting to echo an HTML table with images in one cell and data in the other.

The data shows fine but the images do not. When I view the echoed HTML source I have nothing between my "".

Here is the effected lines in the echo()

"<A onclick=\"MM_openBrWindow('/casestudy/images/photos/"."$lgpic"."','','scrollbars=yes,width=535,height=400')\" href=\"javascript:;\">".
                    "<IMG src=\""."$smpic"."\" style=\"border: 0px\"></A>".CODE] 


Here is the HTML source code returned.

[CODE]<A onclick="MM_openBrWindow(\'/casestudy/images/photos/',\'\',\'scrollbars=yes,width=535,height=400\')" href="javascript:;"><IMG src="" style="border: 0px"></A>

Where did I go wrong?

    Nevermind, I forgot to include the variables in my db query... DOH!

      Write a Reply...