Jump to content

code translation


monkeybidz

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)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.