Variable wird nicht erkannt !?

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

  • Variable wird nicht erkannt !?

    Hi..
    Habe ein Problem mit Varibalen:

    http://nopaste.php-q.net/116762

    Die Variablen genz oben erhalten ihre werte durch ein link.. ganz oben kann ich sie per echo ausgeben.

    Ganz unten werden die Variablen nicht mehr erkannt ! why ?!

    http://www.NetPerformance.de/test1/g...cal&user=aaron

    Gruß und Dank im vorraus
    Aaron
    Zuletzt geändert von Aaron_k; 24.02.2005, 11:09.
    |:: NetPerformance.de ::|

  • #2
    und Dein code?
    Beantworte nie Threads mit mehr als 15 followups...
    Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25

    Kommentar


    • #3
      @MelloPie: 1. Link ...
      @Aaron: Kann es sein, dass Dir ganz doll viel Grundlagenwissen fehlt ... z.B. was POST und GET sind ... usw. ... ?!
      carpe noctem

      [color=blue]Bitte keine Fragen per EMail ... im Forum haben alle was davon ... und ich beantworte EMail-Fragen von Foren-Mitgliedern in der Regel eh nicht![/color]
      [color=red]Hinweis: Ich bin weder Mitglied noch Angestellter von ebiz-consult! Alles was ich hier von mir gebe tue ich in eigener Verantwortung![/color]

      Kommentar


      • #4
        hm, siehst du einen UNterswcdhied zwischen:
        $_user und $user? (ich schon)

        2. Versuch mal dass bei jedem name=blabla ein name=\"blabla\" zu machen (natürlich auch bei jedem value=, method=, ...)

        Ansnonsten seh ihc auf der schnelle au keinen fehler

        Forumregeln!

        Gute PHP-(tutorial-)Seiten

        Kommentar


        • #5
          Salut Aaron

          mal beim w3c gewesen und versucht den Code zu validieren (19 Fehler). Die meisten Fehler beziehen sich darauf was davidoch geschrieben hat. Die Attribute eines HTML Elementes sind IMMER in "" zu setzen.

          259: <input name=_speichern type=submit id=_speichern value=' Speichern '>

          Die ID darf nicht mit einer Zahl oder Unterstrich beginnen
          w3c und das Form
          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


          • #6
            ich denk es geht hier um ein php-prob?

            Kommentar


            • #7
              hehe
              @goth ich klicke ja nich auf alle links, wer weiss wo das imemr so hinführt...
              @jahlives goil
              @Aaron_k
              if(isset($_POST['_speichern']))
              {
              echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
              echo "<br>".$_id."<br>";
              echo $_guest."<br>";
              echo $user;
              }
              Sauber, nach dem Post sind Deine GET Variablen weg...
              @see Goths antwort
              Beantworte nie Threads mit mehr als 15 followups...
              Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25

              Kommentar


              • #8
                Huhu..

                Danke für euere Antworten..
                Unterschied zwischen get und post war bekannt.. habe aber eine Möglichkeit gesucht, um das ganze so umzusetzen.

                Gelöst habe ich das Problem durch ein "hidden" Eingabefeld.

                Kann die Werte jetzt einfach in hidden zwischenspeichern und obwohl die Variablen per Link übergeben werden per post abgreifen.


                Gruß
                Aaron
                |:: NetPerformance.de ::|

                Kommentar


                • #9
                  eine for-schleife wäre für so was auch ganz praktisch....

                  PHP-Code:
                  <select name=myJahr id=myJahr>
                  <
                  option selected>Jahr</option>
                  <
                  option>1910</option>
                  <
                  option>1911</option>
                  <
                  option>1912</option>
                  <
                  option>1913</option>
                  <
                  option>1914</option>
                  <
                  option>1915</option>
                  <
                  option>1916</option>
                  <
                  option>1917</option>
                  <
                  option>1918</option>
                  <
                  option>1919</option>
                  <
                  option>1920</option>
                  <
                  option>1921</option>
                  <
                  option>1922</option>
                  <
                  option>1923</option>
                  <
                  option>1924</option>
                  <
                  option>1925</option>
                  <
                  option>1926</option>
                  <
                  option>1927</option>
                  <
                  option>1928</option>
                  <
                  option>1929</option>
                  <
                  option>1930</option>
                  <
                  option>1931</option>
                  <
                  option>1932</option>
                  <
                  option>1933</option>
                  <
                  option>1934</option>
                  <
                  option>1935</option>
                  <
                  option>1936</option>
                  <
                  option>1937</option>
                  <
                  option>1938</option>
                  <
                  option>1939</option>
                  <
                  option>1940</option>
                  <
                  option>1941</option>
                  <
                  option>1942</option>
                  <
                  option>1943</option>
                  <
                  option>1944</option>
                  <
                  option>1945</option>
                  <
                  option>1946</option>
                  <
                  option>1947</option>
                  <
                  option>1948</option>
                  <
                  option>1949</option>
                  <
                  option>1950</option>
                  <
                  option>1951</option>
                  <
                  option>1952</option>
                  <
                  option>1953</option>
                  <
                  option>1954</option>
                  <
                  option>1955</option>
                  <
                  option>1956</option>
                  <
                  option>1957</option>
                  <
                  option>1958</option>
                  <
                  option>1959</option>
                  <
                  option>1960</option>
                  <
                  option>1961</option>
                  <
                  option>1962</option>
                  <
                  option>1963</option>
                  <
                  option>1964</option>
                  <
                  option>1965</option>
                  <
                  option>1966</option>
                  <
                  option>1967</option>
                  <
                  option>1968</option>
                  <
                  option>1969</option>
                  <
                  option>1970</option>
                  <
                  option>1971</option>
                  <
                  option>1972</option>
                  <
                  option>1973</option>
                  <
                  option>1974</option>
                  <
                  option>1975</option>
                  <
                  option>1976</option>
                  <
                  option>1977</option>
                  <
                  option>1978</option>
                  <
                  option>1979</option>
                  <
                  option>1980</option>
                  <
                  option>1981</option>
                  <
                  option>1982</option>
                  <
                  option>1983</option>
                  <
                  option>1984</option>
                  <
                  option>1985</option>
                  <
                  option>1986</option>
                  <
                  option>1987</option>
                  <
                  option>1988</option>
                  <
                  option>1989</option>
                  <
                  option>1990</option>
                  <
                  option>1991</option>
                  <
                  option>1992</option>
                  <
                  option>1993</option>
                  <
                  option>1994</option>
                  <
                  option>1995</option>
                  <
                  option>1996</option>
                  <
                  option>1997</option>
                  <
                  option>1998</option>
                  <
                  option>1999</option>
                  <
                  option>2000</option>
                  <
                  option>2001</option>
                  <
                  option>2002</option>
                  <
                  option>2003</option>
                  <
                  option>2004</option>
                  </
                  select

                  Kommentar


                  • #10
                    Original geschrieben von MelloPie
                    hehe
                    @goth ich klicke ja nich auf alle links, wer weiss wo das imemr so hinführt...
                    Ich surfe fas ausschliesslich mit Opera und FFox ... da kann gar nichts passieren ...
                    carpe noctem

                    [color=blue]Bitte keine Fragen per EMail ... im Forum haben alle was davon ... und ich beantworte EMail-Fragen von Foren-Mitgliedern in der Regel eh nicht![/color]
                    [color=red]Hinweis: Ich bin weder Mitglied noch Angestellter von ebiz-consult! Alles was ich hier von mir gebe tue ich in eigener Verantwortung![/color]

                    Kommentar

                    Lädt...
                    X