"; //print "Idwovonnachvonsubnachsubinfoaktuell print "Idwovonnachvonsubnachsubinfotime"; $result = $db->query('SELECT * FROM trafficnews WHERE aktuell=1'); foreach($result as $row) { print "".$row['Id'].""; print "".$row['wo'].""; print "".$row['von'].""; print "".$row['nach'].""; print "".$row['vonsub'].""; print "".$row['nachsub'].""; print "".$row['info'].""; //print "".$row['aktuell'].""; print "".$row['time'].""; } print ""; // close the database connection $db = NULL; ?>