Hi,
while(1)
{
if ($datenquelle=="datenbank")
if (!($data = $site_db->fetch_array($sql))) break;
else
if (!(list($key, $data) = each ($daten))) break;
[...]
}
Schöne Grüße
Julian
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net