Thomas Z.: php.ini register_globals = off

Beitrag lesen

Tach zusammen

Hab da ein Problem welches ich mir nicht so ganz erklären kann.
Stelle ich in der php.ini register_globals = Off und rufe meine Seite auf bekomme ich folgende Fehlermeldung

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in ausgabe.php on line 128

dort steht in Zeile 128

while ($row = mysql_fetch_row ($result))

stelle ich register_globals = On

läuft die abfrage und ich bekomme meine Datensaetze angezeigt.

Was kann das sein, bzw. wie kann ich das Script ändern damit ich register_globals = off stehen lassen kann ...

Gruss und Danke Thomas

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