Hallo!
Aber wie greife ich auf das Ergebnis zu?
Am besten du vergibst einen sinnvollen Namen:SELECT count(entry) as Anzahl...
Cool. Jetzt weißich auch wofür "as" ist. Hab's schon öfters gelesen aber noch nie verwendet.
Oder:
echo $commentRow['count(entry)'];
Aber da bin ich mir nicht sicher, ob das funktioniert. ;-)
Ich habs probiert - es geht nicht. Aber mit as ist es sowieso schöner.
Vielen Dank für die Hilfe! PHP und MySQL gefallen mir immer besser :)
ciao, ww
--
Ein japanisch-deutsches Gedicht
sh:( fo:| ch:~ rl:( br:> n4:~ ie:% mo:) va:) de:] zu:) fl:( ss:| ls:~ js:)
Ein japanisch-deutsches Gedicht
sh:( fo:| ch:~ rl:( br:> n4:~ ie:% mo:) va:) de:] zu:) fl:( ss:| ls:~ js:)