Jump to content

Archived

This topic is now archived and is closed to further replies.

monkeybidz

code translation

Recommended Posts

Hello, im a having this problem where the character [b]&[/b] appears as [b]&[/b] only in selector 1 - 5, but not in 0. The character appears correctly in selector_0, and also appear correctly elswhere in the site. Below is some mix code.

[b]<TABLE cellSpacing=5 cellPadding=2 border=0 width=100%>
       <INPUT type="hidden" value="1" name="submitted">
       <TR vAlign=top bgColor=#ffffff>
         <TD align=middle width="50%"> <TABLE id=table_0 cellSpacing=5 border=0 width=100%>
             <TR>
               <TD> <SELECT class="contentfont" id="selector_0" onchange="populate(0)" size="10" name="selector_0" style="width: 100%; ">
                   <?
for ($i=0; $i<$cnt; $i++) {
echo "<option value=\"".$catId[$i]."\">".$c_lang[$catId[$i]]." ".$hasSubcat[$i]."</option>";
} ?>
                 </SELECT> </TD>
             </TR>
           </TABLE></TD>
         <TD align=middle width="50%"> <TABLE id=table_1 cellSpacing=5 border=0 width=100%>
             <TR>
               <TD><SELECT class="contentfont" id="selector_1" onchange="populate(1)" size="10" name="selector_1" style="width: 100%; ">
                   <option value=""></option>
                 </SELECT></TD>
             </TR>
           </TABLE></TD>
       </TR>
       <TR vAlign=top bgColor=#ffffff>
         <TD align=middle><TABLE id=table_2 cellSpacing=5 border=0 width=100%>
             <TR>
               <TD><SELECT class="contentfont" id="selector_2" onchange="populate(2)" size="7" name="selector_2" style="width: 100%; ">
                   <OPTION value=""></OPTION>
                 </SELECT></TD>
             </TR>
           </TABLE></TD>
         <TD align=middle> <TABLE id=table_3 cellSpacing=5 border=0 width=100%>
             <TR>
               <TD><SELECT class="contentfont" id="selector_3"
                       onchange="populate(3)" size="7" name="selector_3" style="width: 100%; ">
                   <OPTION value=""></OPTION>
                 </SELECT></TD>
             </TR>
           </TABLE></TD>
       </TR>
       <TR vAlign=top bgColor=#ffffff>
         <TD align=middle><TABLE id=table_4 cellSpacing=5 border=0 width=100%>
             <TR>
               <TD><SELECT class="contentfont" id="selector_4" onchange="populate(4)" size="7" name="selector_4" style="width: 100%; ">
                   <OPTION value=""></OPTION>
                 </SELECT></TD>
             </TR>
           </TABLE></TD>
         <TD align=middle> <TABLE id=table_5 cellSpacing=5 border=0 width=100%>
             <TR>
               <TD><SELECT class="contentfont" id="selector_5"
                       onchange="populate(5)" size="7" name="selector_5" style="width: 100%; ">
                   <OPTION value=""></OPTION>
                 </SELECT></TD>
             </TR>
           </TABLE></TD>
       </TR>
     </TABLE>[/b]

Selectors 1-5 are sub categories of selector_0

Thanks in advance! 8)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.