Hi everybody!
I have this line in my asp page:
<input name=Comment type=text value='<%Response.write trim(rsInfo("Comment"
)%>'>
where rsInfo("Comment"
= value from the database
My problem is that when the value of rsInfo("Comment"
contains a single quote the value will be truncated until the caracter before the quote.
If I change from single quote to double quote next to value like this:
<input name=Comment type=text value="<%Response.write trim(rsInfo("Comment"
)%>">
then if rsInfo("Comment"
will contain a double quote it will truncate again. If it contains a sinigle quote it will display it.
What should I do??
Thanks,
Duruguru
I have this line in my asp page:
<input name=Comment type=text value='<%Response.write trim(rsInfo("Comment"
where rsInfo("Comment"
My problem is that when the value of rsInfo("Comment"
If I change from single quote to double quote next to value like this:
<input name=Comment type=text value="<%Response.write trim(rsInfo("Comment"
then if rsInfo("Comment"
What should I do??
Thanks,
Duruguru