php problems

Associate
Joined
24 Mar 2004
Posts
893
Location
Northern Ireland
Hi,

Im trying to implement the following line using php.

Code:
echo "<a href="javascript:;" onMouseOver="MM_openBrWindow('largeimages/060920-$image1','$image1','width=600,height=400')">";

I think the problem is to do with the ; just after the word javascript. Im assuming the php compiler thinks this is the end of the statement.

How do i get around this problem, and i guess another question is, is there away to display charactors like ; , " , ' etc without the compiler getting confused?

Thanks, Richard
 
Back
Top Bottom