nivini
Programmer
- Mar 24, 2004
- 64
Hello all
I have this code:
The rec("pic") is an image (jpg) file, which contains spaces, for example: 2005111Al Taj Mahal.jpg.
It works fine for the
but for the
I get an error. Unterminated string constant
In the view source of the html i can see:
onclick=window.open('..shows/20051111Al
What is wrong with the string???
HHHELP
nivini
I have this code:
Code:
response.write "<td class='photo'>"
response.write "<img src='../shows"&(rec("pic"))&"'width=100 height=75 border='0'"
response.write " onclick=window.open('../shows"& rec("pic")&"',,'width=50,height=50, toolbar=no')>"
response.write "</td>"
The rec("pic") is an image (jpg) file, which contains spaces, for example: 2005111Al Taj Mahal.jpg.
It works fine for the
Code:
response.write "<img src='../shows"&(rec("pic"))&"'width=100 height=75 border='0'"
Code:
response.write " onclick=window.open('../shows"& rec("pic")&"',,'width=50,height=50, toolbar=no')>"
In the view source of the html i can see:
onclick=window.open('..shows/20051111Al
What is wrong with the string???
HHHELP
nivini