Hi udo!
$abfrage = "SELECT mail FROM teilnehmer_dieda where news = 'Ja' ";
$ergebnis = mysql_query($abfrage);
Du musst erst noch die Zeilen aus der Resource holen:
while($row = mysql_fetch_object($ergebnis)) {
echo $row->mail;
}
Ich hoffe, das hilft dir weiter.
Übrigens solltest du während der Entwicklung am Anfang deines PHP-Skriptes error_reporting(E_ALL),
schreiben. Damit bekommst du mehr eventuell hilfreiche Fehlermeldungen.
MfG H☼psel
--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)