Hi,
if(empty($is) && empty($a) && empty($t) && empty($h) && (empty($r) || $r==1))
Dieser Block soll nur betreten werden, wenn ALLE 5 leer bzw r=1 ist, wie man sehen kann ist r zwar = 1 aber i ist nicht leer, der block wird aber
trotzdem ausgeführt. WARUM DENN NUR?
Weil i und is zwei verschiedene Dinge sind...
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/