zu dumm!!!!???

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • zu dumm!!!!???

    ich habe eine einfache Frage... (denke ich mal so..ggg!) Ich habe eine Seite in der Smilies angezeigt werden sollen. Diese werden aber in einer Zeile durchweg angezeigt.. Meine Frage: Wie kann ich einen einfachen Break einfügen, so dass 4 Smilies in einer Reihe stehen und dann wieder vier.. usw...

    Der Code sieht wie folgt aus, für die Auflistung der Smilies

    ":abschied" => array("hr24/abschied.gif", "40", "36"),
    ":admin" => array("hr24/admin.gif", "150", "78"),
    ":affe1" => array("hr24/affe1.gif", "50", "48"),
    ":albertle" => array("hr24/albertle.gif", "32", "28"),
    ":andi" => array("hr24/andi.gif", "65", "75"),
    ":andi13hh" => array("hr24/andi13hh.gif", "60", "63"),
    ":andy" => array("hr24/andy.gif", "80", "40"),
    ":angela" => array("hr24/angela.gif", "60", "104"),
    ":angeleyes" => array("hr24/angeleyes.gif", "60", "75"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),
    ":dance1" => array("hr24/Disco108.gif", "241", "124"),

    wie gesagt nach 4 smilies in einer Reihe soll ein break erfolgen.. also eine Zeilenschaltung... weiss jemand hilfe...

    ich bekomme immer einen Parse-Error
    bei echo "br"

    DANKE im voraus
    Elliot
    Zuletzt geändert von elliot1962; 08.02.2006, 11:48.

  • #2
    echo "<br>"; ???

    Kommentar


    • #3
      EDIT:
      Argh!? Wieso doppelpost
      Bitte diesen Post löschen!

      Kommentar


      • #4
        Mach in der Ausgabe-Schleife das hier...


        PHP-Code:
        $i 1:

        while(...) {
         echo 
        $smilie# oder was auch immer
         
        if($i == 0) {
          echo 
        "<br>";
         }
         
        $i++;

        lg

        Kommentar


        • #5
          Grausam ---&gt; ??? ggg

          danke erstmal, aber wo setze ich das rein.. das Optimum wäre, wenn ich ein eigenes Fenster bekäme, für die smilies... weiss jemand Rat???

          Es brennt, vielen dank!

          error_reporting(E_ALL);
          <?
          /* ------------------------------------------------------------------
          This library allows to transform text codes to graphical smilies.
          It is called by 'chat/input.php3'.
          ------------------------------------------------------------------ */


          // The table below define smilies code and associated gif names, width and height.
          // You can add your own collection of smilies inside but be aware that codes may
          // need to be slashed in some way because they are used as POSIX 1003.2 regular
          // expressions (see the Check4Smilies function below). Moreover these codes are
          // case sensitives.

          $SmiliesTbl = Array(
          ":abschied" => array("hr24/abschied.gif", "40", "36"),
          ":admin" => array("hr24/admin.gif", "150", "78"),
          ":affe1" => array("hr24/affe1.gif", "50", "48"),
          ":albertle" => array("hr24/albertle.gif", "32", "28"),
          ":andi" => array("hr24/andi.gif", "65", "75"),
          ":andi13hh" => array("hr24/andi13hh.gif", "60", "63"),
          ":andy" => array("hr24/andy.gif", "80", "40"),
          ":angela" => array("hr24/angela.gif", "60", "104"),
          ":angeleyes" => array("hr24/angeleyes.gif", "60", "75"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":dance1" => array("hr24/Disco108.gif", "241", "124"),
          ":bongo" => array("disco/Instrumente108.gif", "60", "70"),
          ":dance2" => array("disco/Disco306.gif", "160", "120"),
          ":dj" => array("disco/Disco213.gif", "120", "62"),
          ":rap" => array("disco/Disco211.gif", "135", "70"),
          ":dance1" => array("disco/Disco108.gif", "241", "124"),
          ":eh" => array("Smiley411.gif", "32", "32"),
          "k" => array("Smiley326.gif", "49", "32"),
          ":zwinker" => array("Smiley325.gif", "32", "32"),
          ":zustimm" => array("Smiley324.gif", "32", "32"),
          ":auge" => array("Smiley323.gif", "32", "32"),
          ":hallo" => array("Smiley322.gif", "126", "32"),
          ":bye" => array("Smiley321.gif", "107", "32"),
          ":wein" => array("Smiley240.gif", "40", "15"),
          ":bääh" => array("Smiley239.gif", "33", "19"),
          ":gruebel" => array("Smiley235.gif", "37", "32"),
          ":cool" => array("Smiley118.gif", "91", "32"),
          ":\)" => array("smile1.gif", "15", "15"),
          "" => array("smile2.gif", "15", "15"),
          "" => array("smile3.gif", "15", "15"),
          ":\(" => array("smile4.gif", "15", "15"),
          ";\)" => array("smile5.gif", "15", "15"),
          "" => array("smile6.gif", "15", "15"),
          "8\)" => array("smile7.gif", "15", "15"),
          ":\[" => array("smile8.gif", "15", "15"),
          ":kill:" => array("smile9.gif", "50", "15")
          );

          $MaxWidth = "50"; // Set the maximum width among similes
          $MaxHeight = "15"; // Set the maximum height among similes


          // ---- DO NOT MODIFY BELOW ----

          // Slashes ' and " characters
          function SpecialSlash(&$Str)
          {
          return str_replace("\"","&quot;",str_replace("'","\\'",$Str));
          }

          // Replace smilies code by gif URLs in messages
          function Check4Smilies(&$string,&$Table)
          {
          $tmp_tbl = split("<a href|</a>", " ".$string." ");
          $i = "0";

          for (reset($tmp_tbl); $substring=current($tmp_tbl); next($tmp_tbl))
          {
          // $substring is one of the trailing spaces added above -> do nothing
          if($substring == " ")
          {
          }
          // $substring is not an HTTP link -> do the work for smilies
          elseif (($i % 2) == "0")
          {
          while(list($key, $prop) = each($Table))
          {
          $substring = ereg_replace($key, " <IMG SRC=\"images/smilies/$prop[0]\" WIDTH=$prop[1] HEIGHT=$prop[2] ALT=\"".str_replace("\"","&quot;", stripslashes($key))."\"> ", $substring);
          };
          $tmp_tbl[$i] = $substring;
          }
          // $substring is an HTTP link -> just restore HTML tags for links
          else
          {
          $tmp_tbl[$i] = "<a href".$substring."</a>";
          }
          $i++;
          };
          $string = trim(join("",$tmp_tbl));
          unset($tmp_tbl);
          }

          // Display smilies in the help popup and in the tutorials
          function DisplaySmilies(&$ToDisplay,&$Table,&$TblSize,$Target)
          {
          global $MaxWidth, $MaxHeight;

          $i = 0;
          $Str1 = "";
          $Str2 = "";
          $PerLines = floor(600/$MaxWidth);

          while(list($key, $prop) = each($Table))
          {
          $i++;
          if ($Target == "help") $Str1 .= "\t\t<TD ALIGN=\"CENTER\" WIDTH=$MaxWidth HEIGHT=$MaxHeight><A HREF=\"#\" onClick=\"smiley2Input('".SpecialSlash($key)."'); return false\"><IMG SRC=\"images/smilies/$prop[0]\" WIDTH=$prop[1] HEIGHT=$prop[2] BORDER=0 ALT=\"".str_replace("\"","&quot;", stripslashes($key))."\"></A></TD>\n";
          else $Str1 .= "\t\t<TD ALIGN=CENTER WIDTH=$MaxWidth HEIGHT=$MaxHeight><IMG SRC=\"images/smilies/$prop[0]\" WIDTH=$prop[1] HEIGHT=$prop[2] BORDER=0 ALT=\"".str_replace("\"","&quot;", stripslashes($key))."\"></TD>\n";
          $Str2 .= "\t\t<TD ALIGN=\"CENTER\" NOWRAP>".stripslashes($key)."</TD>\n";
          if (is_integer($i/$PerLines) || $i == $TblSize)
          {
          $ToDisplay[] = $Str1;
          $ToDisplay[] = $Str2;
          $Str1 = "";
          $Str2 = "";
          };
          };
          };

          ?>
          Zuletzt geändert von elliot1962; 08.02.2006, 19:19.

          Kommentar


          • #6
            Hast du es denn schonmal probiert?
            Wo würde deiner Ansicht nach ungefähr die richtige Stelle sein?

            Und bitte folgendes befolgen: klick
            mfg - sagg

            Kommentar


            • #7
              hmmm

              jetzt fragst du mich was... ich würde es gerne so haben wollen, dass ich einfach 4 smilies in einer Reihe habe... Stattdessen zeigt er mir 12 stück in einer reihe und die user müssen den qurbalken scollen... das ist für die user sehr störend... Besser wenn man nur das Mausrad benutzen kann.. gg. Ich hatte deswegen den qullcode reingesetzt.. sorry, eigentlich bin ich noch ein blutiger anfänger :-(

              Kommentar


              • #8
                Original geschrieben von sagg
                Und bitte folgendes befolgen: klick
                Wenn du das noch beachtest, lässt sich dein Code auch noch lesen.
                Und bitte nicht die Editieren-Funktion vergessen.
                mfg - sagg

                Kommentar


                • #9
                  Wenn du das noch beachtest, lässt sich dein Code auch noch lesen.
                  was meinst du damit.. du siehst ich binmehr als ein bluitger anfänger.. ggg.. Hilf mir doch bite kurz, ich dachte DAS ist der Code oben, den ich reinkopiert hatte

                  Kommentar


                  • #10
                    Original geschrieben von sagg
                    Und bitte folgendes befolgen: [COLOR=red]klick[/COLOR]
                    mfg - sagg

                    Kommentar


                    • #11
                      sorry.. ich gebs auf... ich kann den code hier lesen und weiss nicht was du von mir möchtest...
                      Meine frage ist nur, wie ich die smilies umbrechen kan, damit der horizontale balken verschwindet.. nicht mehr und nicht weniger.... wüsste halt nur gerne WO ich den code reinsetzen muss....

                      danke für die geduld :-D

                      Kommentar


                      • #12
                        Ich denke es wollten Dich alle auf die Benutzung der php-Tags aufmerksam machen.
                        Ist denn der Code so
                        PHP-Code:
                        $SmiliesTbl = Array(
                        ":abschied" => array("hr24/abschied.gif""40""36"),
                        ":admin" => array("hr24/admin.gif""150""78"),
                        ":affe1" => array("hr24/affe1.gif""50""48"),
                        ":albertle" => array("hr24/albertle.gif""32""28"),
                        ":andi" => array("hr24/andi.gif""65""75"),
                        ":andi13hh" => array("hr24/andi13hh.gif""60""63"),
                        ":andy" => array("hr24/andy.gif""80""40"),
                        ":angela" => array("hr24/angela.gif""60""104"),
                        ":angeleyes" => array("hr24/angeleyes.gif""60""75"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":dance1" => array("hr24/Disco108.gif""241""124"),
                        ":bongo" => array("disco/Instrumente108.gif""60""70"),
                        ":dance2" => array("disco/Disco306.gif""160""120"),
                        ":dj" => array("disco/Disco213.gif""120""62"),
                        ":rap" => array("disco/Disco211.gif""135""70"),
                        ":dance1" => array("disco/Disco108.gif""241""124"),
                        ":eh" => array("Smiley411.gif""32""32"),
                        "k" => array("Smiley326.gif""49""32"),
                        ":zwinker" => array("Smiley325.gif""32""32"),
                        ":zustimm" => array("Smiley324.gif""32""32"),
                        ":auge" => array("Smiley323.gif""32""32"),
                        ":hallo" => array("Smiley322.gif""126""32"),
                        ":bye" => array("Smiley321.gif""107""32"),
                        ":wein" => array("Smiley240.gif""40""15"),
                        ":bääh" => array("Smiley239.gif""33""19"),
                        ":gruebel" => array("Smiley235.gif""37""32"),
                        ":cool" => array("Smiley118.gif""91""32"),
                        ":\)" => array("smile1.gif""15""15"),
                        "" => array("smile2.gif""15""15"),
                        "" => array("smile3.gif""15""15"),
                        ":\(" => array("smile4.gif""15""15"),
                        ";\)" => array("smile5.gif""15""15"),
                        "" => array("smile6.gif""15""15"),
                        "8\)" => array("smile7.gif""15""15"),
                        ":\[" => array("smile8.gif""15""15"),
                        ":kill:" => array("smile9.gif""50""15")
                        );

                        $MaxWidth "50"// Set the maximum width among similes
                        $MaxHeight "15"// Set the maximum height among similes


                        // ---- DO NOT MODIFY BELOW ----

                        // Slashes ' and " characters
                        function SpecialSlash(&$Str)
                        {
                        return 
                        str_replace("\"",""",str_replace("'","\'",$Str));
                        }

                        // Replace smilies code by gif URLs in messages
                        function Check4Smilies(&$string,&$Table)
                        {
                        $tmp_tbl = split("<a href|</a>", " ".$string." ");
                        $i = "0";

                        for (reset($tmp_tbl); $substring=current($tmp_tbl); next($tmp_tbl))
                        {
                        // $substring is one of the trailing spaces added above -> do nothing
                        if($substring == " ")
                        {
                        }
                        // $substring is not an HTTP link -> do the work for smilies
                        elseif (($i % 2) == "0")
                        {
                        while(list($key, $prop) = each($Table))
                        {
                        $substring = ereg_replace($key, " <IMG SRC=\"images/smilies/$prop[0]\" 
                        WIDTH=$prop[1] HEIGHT=$prop[2] ALT=\"".str_replace("\"",""", stripslashes($key))."\"> ", $substring);
                        };
                        $tmp_tbl[$i] = $substring;
                        }
                        // $substring is an HTTP link -> just restore HTML tags for links
                        else
                        {
                        $tmp_tbl[$i] = "<a href".$substring."</a>";
                        }
                        $i++;
                        };
                        $string = trim(join("",$tmp_tbl));
                        unset($tmp_tbl);
                        }

                        // Display smilies in the help popup and in the tutorials
                        function DisplaySmilies(&$ToDisplay,&$Table,&$TblSize,$Target)
                        {
                        global $MaxWidth, $MaxHeight;

                        $i = 0;
                        $Str1 = "";
                        $Str2 = "";
                        $PerLines = floor(600/$MaxWidth);

                        while(list($key, $prop) = each($Table))
                        {
                        $i++;
                        if ($Target == "help") $Str1 .= "\t\t<TD ALIGN=\"CENTER\" 
                        WIDTH=$MaxWidth HEIGHT=$MaxHeight><A HREF=\"#\" onClick=\"smiley2Input('".SpecialSlash(
                        $key)."'); return false\">
                        <IMG SRC=\"images/smilies/$prop[0]\" WIDTH=$prop[1] HEIGHT=$prop[2] BORDER=0 ALT=\"".str_replace("\"",""", 
                        stripslashes($key))."\"></A></TD>\n";
                        else $Str1 .= "\t\t<TD ALIGN=CENTER WIDTH=$MaxWidth HEIGHT=$MaxHeight><IMG SRC=\"images/smilies/$prop[0]\" 
                        WIDTH=$prop[1] HEIGHT=$prop[2] BORDER=0 ALT=\"".
                        str_replace("\"",""", stripslashes($key))."\"></TD>\n";
                        $Str2 .= "\t\t<TD ALIGN=\"CENTER\" NOWRAP>".stripslashes($key)."</TD>\n";
                        if (is_integer($i/$PerLines) || $i == $TblSize)
                        {
                        $ToDisplay[] = $Str1;
                        $ToDisplay[] = $Str2;
                        $Str1 = "";
                        $Str2 = "";
                        };
                        };
                        }; 
                        nicht viel einfacher zu lesen. Bei langen Zeilen kannst du doch ganz einfach mittels ENTER einen Umbruch erzeugen.
                        Niemand scrollt hier gerne horizontal

                        Gruss

                        tobi
                        Gutes Tutorial | PHP Manual | MySql Manual | PHP FAQ | Apache | Suchfunktion für eigene Seiten

                        [color=red]"An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it."[/color]
                        Mohandas Karamchand Gandhi (Mahatma Gandhi) (Source)

                        Kommentar


                        • #13
                          jooo, das ist der code... und jetzt wollte ich einfach nur ein paar zeilenumbrüche haben...
                          danke für deine Hilfe.. sorry wegen des skript!

                          so sieht das bei mir aus....

                          und DA wollte ich nur was ordnung reinbringen!
                          Zuletzt geändert von elliot1962; 08.02.2006, 20:26.

                          Kommentar


                          • #14
                            Also wenn ich mir die Funktionen mal so anschaue, würde ich meinen das du mal in die help_popup.php3 schauen solltest, warum genau 12 Smilies nebeneinander ausgegeben werden.

                            Und auf dein Array $SmiliesTbl wird in den ganzen Funktionen nicht ein einziges mal zugegriffen, sprich er muss sie irgendwo anders her bekommen.

                            Wie gesagt, schau mal in die andere Datei, vielleicht findest dort ja was.
                            mfg - sagg

                            Kommentar

                            Lädt...
                            X