Vorstand der SG TMBW Berlin
SG Tempelhof/Mariendorf – Sp.Vg. Blau-Weiß 1890 e.V.
Rathausstraße 10A
12105 Berlin
E-Mail: vorstand@sg-tmbw.de
Telefon: 030 – 707 824 07
{php} $db = mysql_connect(‚localhost‘,’d007969e‘,’Sh1c3h4CkM15t‘) or die(„Database error“); mysql_select_db(‚d007969e‘, $db) or die(„Database error“); $query = „select name, titel,mailadresse,kontakt,vip from staff where vorstand=1 order by vip;“; $result = mysql_query($query); $th=““; $tr=““;$i=0; while ($row = mysql_fetch_array($result)) { $th .= „“.$row[‚titel‘].““; if ($row[‚kontakt‘] != „“) $tr .= “
„.$row[’name‘].“
„; else $tr .= „“; else $tr .= „
„; if ($row[‚vip‘]%3==0 || $i==mysql_num_rows($result)-1) { echo „$th$tr“; $th=““; $tr=““;} $i++; } {/php}
„.$row[’name‘].“ „.$row[‚kontakt‘].“ |