Lavalair Cpanel Menu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lavalair Cpanel Menu

    am tryin to put my cpane into drop down menu but everytime i code a drop down menu it gives me problem

    i think i need some help

    i code the drop down menu in my cpanel, it shows on the pc when i use opera but gives errors on my phone. can some1 help me

    Code:
    echo "Cpanel Tools:
    <select name=\"vopt\">";
    echo "<option value=\"rwidc\">HT Portal ID card</option>";
    echo "<option value=\"myclub\">My Clubs</option>";
    echo "<option value=\"search\">Search</option>";
    echo "</select>
    ";
    echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
    echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
    echo "<postfield name=\"sid\" value=\"$sid\"/>";
    echo "</go></anchor>
    ";

    #2
    remove the
    from the anchor.... beside you could of put the variable action and sid WHERE you have index.php eg index.php?action=vopt&amp;sid=$sid
    . ....

    R.M.C
    ----------
    PHP Adovocate B)

    Comment


      #3
      echo "Cpanel Tools:
      <select name=\"vopt\">";
      echo "<option value=\"rwidc\">HT Portal ID card</option>";
      echo "<option value=\"myclub\">My Clubs</option>";
      echo "<option value=\"search\">Search</option>";
      echo "</select>
      ";
      echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
      echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
      echo "<postfield name=\"sid\" value=\"$sid\"/>";
      echo "</go></anchor>
      ";[/b]
      try use this ~

      echo "Cpanel Tools:";
      echo "
      ";
      echo "<select name=\"vopt\" value=\"\">";
      echo "<option value=\"rwidc\">HT Portal ID card</option>";
      echo "<option value=\"myclub\">My Clubs</option>";
      echo "<option value=\"search\">Search</option>";
      echo "</select>";
      echo "
      ";
      echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
      echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
      echo "<postfield name=\"sid\" value=\"$sid\"/>";
      echo "</go></anchor>";
      echo "
      ";[/b]
      <div align="center">wrong</div>

      Comment


        #4
        still not workin

        Comment


          #5
          am tryin to put my cpane into drop down menu but everytime i code a drop down menu it gives me problem

          i think i need some help

          i code the drop down menu in my cpanel, it shows on the pc when i use opera but gives errors on my phone. can some1 help me

          Code:
          echo "Cpanel Tools:
          <select name=\"vopt\">";
          echo "<option value=\"rwidc\">HT Portal ID card</option>";
          echo "<option value=\"myclub\">My Clubs</option>";
          echo "<option value=\"search\">Search</option>";
          echo "</select>
          ";
          echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
          echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
          echo "<postfield name=\"sid\" value=\"$sid\"/>";
          echo "</go></anchor>
          ";
          [/b]
          copy n replace this code [attachment=1563:copy_n_replace.txt]
          its working for me both opera and nokia 6030

          <div align="center">wrong</div>
          Attached Files

          Comment


            #6
            correction value=\"\"/> close all value fields with /

            <div align="center">wrong</div>

            Comment


              #7
              lol@ mckeny the line break has nothing to do with it, if u notice it is outside of both select and anchor tag

              Comment


                #8
                correction value=\"\"/> close all value fields with /[/b]
                what does it mean?

                Comment


                  #9
                  @rukiya it means that he didnt close the value field, the way it is works fine on pc however m mobile u would normally get an error i.e request fail depending on the type phone u are using another example [img]img.gif[/img] notice the alt attribute

                  Comment


                    #10
                    hmmm yeah i figure that general...secondly you only use the /> end tag to close a empty element
                    or <postfield name=\"mc\" value=\"keny\"/>
                    its not not valid for this <option value=\"mc\">keny</option> the /> tag isn&#39;t require for that...get what am saying?

                    R.M.C
                    ----------
                    PHP Adovocate B)

                    Comment


                      #11
                      generalX created a new tag <option/>.............<option/> or <postfield/>........</postfield>.We all should use it,ok?

                      Comment


                        #12
                        @mckeny so what youre sayn is all tags that already have a closing a backslash shouldnt b considered? even the anchor tag mention above?

                        Comment


                          #13
                          rukiya i dnt quite understand what youre saying

                          Comment


                            #14
                            rukiya i dnt quite understand what youre saying[/b]
                            go and learn wml before posting wrong

                            Comment


                              #15
                              go and learn wml before posting wrong[/b]
                              LOL funny try understanding b4 u post bull****

                              Comment

                              Working...
                              X