Hello,
Aber die Summe, die ich beim ausgeben heraushabe, ist leider doppelt so groß als sie sein sollte.
dann ergibt
JOIN tabelle2 ON tabelle2.wert='".mysql_real_escape_string($_POST['wert'])."'
wohl für jeden Datensatz in tabelle zwei Treffer in der entsprechenden tabelle2.
Wie sehen denn die Daten und das erwartete Ergebnis aus?
MfG
Rouven
--
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
"I wish it need not have happened in my time" - "So do I, and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us." -- J.R.R. Tolkien: "The Lord Of The Rings: The Fellowship Of The Ring"
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
"I wish it need not have happened in my time" - "So do I, and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us." -- J.R.R. Tolkien: "The Lord Of The Rings: The Fellowship Of The Ring"