Thomas Z.: php.ini register_globals = off

Beitrag lesen

Hallo Vinzenz

Ähhh sorry, hatte vergessen nach dem aendern der php.ini den Webserver neu zu starten.

Gleiches Problem wie am Anfang....

Die SQL Statements sind die, die ich gepostet habe..

case "1992"    : $sql="SELECT * FROM top100, woche  WHERE top100.jahr='$jahr' AND woche.jahr='$jahr' AND top100.kw='$kw' and woche.kw='$kw' LIMIT 0,1";
           break;

$result = mysql_query("SELECT top100.*,(SELECT count(*) from top100 as top100 WHERE top100.interpret= top100.interpret AND top100.titel= top100.titel) AS ANZAHL FROM top100, woche WHERE top100.jahr='$jahr' AND woche.jahr='$jahr' and top100.KW='$kw' AND woche.kw='$kw' ORDER BY 'Platz' LIMIT $pos");

Wenn der Fehler in $sql liegt, weiss ich nicht wie ich das anders übergeben soll......

sind doch nur 3 Variablen...

0 52

php.ini register_globals = off

Thomas Z.
  • php
  1. 0
    wahsaga
  2. 0
    Joachim
  3. 0
    Vinzenz Mai
    1. -1
      Thomas Z.
      1. 0
        wahsaga
        1. 0
          Thomas Z.
        2. 0
          Thomas Z.
      2. 0
        Vinzenz Mai
        1. 0
          Thomas Z.
          1. 0
            Thomas Z.
            1. 0
              wahsaga
              1. 0
                Thomas Z.
                1. 0
                  fastix®
                  1. 0
                    Thomas Z.
                    1. 0
                      Vinzenz Mai
                      1. 0
                        Thomas Z.
                        1. 0
                          Rouven
                          1. 0
                            Thomas Z.
                            1. 0
                              Rouven
                              1. 0
                                Thomas Z.
                                1. 0
                                  Ashura
                                2. 0
                                  fastix®
                                  1. 0
                                    Thomas Z.
                                    1. 0
                                      fastix®
                                      1. 0
                                        Thomas Z.
                                        1. 0
                                          wahsaga
                    2. 0
                      fastix®
                      1. 0
                        Thomas Z.
                        1. 0
                          fastix®
                        2. 0
                          Vinzenz Mai
                          1. 0
                            Thomas Z.
                            1. 0
                              Vinzenz Mai
                              1. 0
                                Thomas Z.
                2. 0
                  wahsaga
                  1. -1
                    Thomas Z.
            2. 0
              Vinzenz Mai
            3. 0
              fastix®
          2. 0
            dedlfix
  4. 0
    fastix®
    1. 0
      fastix®
      1. 0
        Thomas Z.
        1. 0
          fastix®
          1. 0
            Tobias Kloth
            1. 0
              fastix®
    2. 0
      dedlfix
      1. 0
        fastix®
        1. 0
          Tobias Kloth
          1. 0
            fastix®
            1. 0
              Tobias Kloth
              1. 0
                fastix®
  5. 0
    Tom