Vinzenz Mai: php.ini register_globals = off

Beitrag lesen

Hallo Thomas,

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";

ein einfaches echo $sql; würde ein für Dich überraschendes Ergebnis liefern. Warum weigerst Du Dich so standhaft, diese Ausgabe zu erzeugen. Um diese Ausgabe bitte ich Dich doch bereits seit meinem ersten Posting.

Wie fastix bereits schrieb sollte es wohl $_GET['jahr'] bzw. $_POST['jahr'], $_GET['kw'] bzw. $_POST['kw'] heißen (analoges gilt für $pos), aber ich verlinkte Dir schon in meinem ersten Posting den betreffenden Handbuchabschnitt und damit war ich nicht allein.

Freundliche Grüße

Vinzenz

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