Thomas Z.: php.ini register_globals = off

Beitrag lesen

Okay wie im ersten Thread stand da was von
mysql_escape_string

nun hab ich mal folgendes gemacht

$kw = mysql_escape_string($kw);

Ergebnis :

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='' AND woche.jahr='' and top100.KW='' AND woche.kw='' ORDER BY 'Platz' LIMIT ''
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in ausgabe.php on line 138

Leute ich geb auf, ich hab das Verständniss nicht mehr dafür.
Ich hab das mal intensiv vor 4 - 5 Jahren gemacht, nur ist kaum noch was hängen geblieben.

$sql = "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'";
echo $sql;

Trotzdem Danke an alle die versucht haben mir zu helfen, muss ich es halt so lassen wie es ist, denn mich intensiv damit zu beschäftigen fehlt mir ehrlich gesagt die Zeit.

Grueße 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