I have having a very strange HTML variable problem. I have some HTML code that looks like the following:
<textarea name="openquery" id="openquery" rows="10" cols="80">/%openquery%/</textarea>
When I update the variable "openquery", it seems to overwrite the closing textarea tag. By the way, we use IFS files to store our HTML source. Here is the code in the RPG:
updHtmlVar2('openquery':%addr(allqrydta):%len(allqrydta));
I am using updHtmlVar2 because allqrydta can be over 2700 characters long.
To keep the program from overwriting </textrarea>, I had to add 13 spaces following the closing '/' of the HTML variable. That seemed to fix the issue; however, I am not satisfied. I have not had this sort of problem in the past. Everything was working fine earlier this morning and it started doing what was described without any major changes. All I did was modify the HTML of a different section in the same document.
I would like to know why this is occurring because we have several applications programmed using CGIDEV2 and I would hate to think they could all start experiencing similar problems. Does anyone have any idea of what could cause the problem above?
Thanks,
Matt
SPONSORED LINKS
| How to format a computer hard drive | Cobol programmer | Iseries 400 |
| How to format a computer | How to format your computer | How to format computer |
YAHOO! GROUPS LINKS
- Visit your group "Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
