Avatar of Neo
Flag for Cyprus

asked on 

cgi perl script


I am trying to make modifications to a perl script in order to make it responsive to screen resolutions.

Here is an excerpt:

<td colspan="2"></td>
<td colspan="2" style="color: #d00; text-align: left; font-weight: 700; line-height: 16px;"><!--ERROR--> </td>
<tr>				<td height="20" colspan="4"> </td>			</tr>
<td colspan="2"></td>
<td colspan="4" style="text-align: left; padding-right: 0;"><font color="#c00000">*</font> Required fields</td>
<tr>				<td height="10" colspan="4"> </td>			</tr>
<!--NAME--><td class="txr"><!--FFN-->Name:</td>
<!--NAME--><td class="txl"><input type="text" name="name" value=""><!--FN--> <font color="#c00000"><!--NAMER--></font></td>
<!--AGE--><td class="txr"><!--FAGE-->Age:</td>
<!--AGE-->	<td></td>
<!--AGE--><td class="txl"><input type="text" name="age" value=""><!--AGE--> <font color="#c00000"><!--AGER--></font></td>

Open in new window

I was under the impression that words enclosed in <!----> were simply comments. I found out that this wasn't the case, when I deleted <!--error-->, and the errors stopped showing up.

So therefore I assume that <!----> is for variables?

What could <!--NAME-->, <!--NAMER-->, <!--AGE-->, <!--AGER--> be doing? It doesn't seem to be making any difference at all when I remove them.

thanks for our help!
* CGIPerl

Avatar of undefined
Last Comment

8/22/2022 - Mon