[TYPO3-german] Datenbank
Rudolf Fussek
rudolf.fussek at icloud.com
Sat Nov 15 12:34:46 CET 2014
Hier mal das ganze Script:
<?php
$schleife = 1;
$res = $GLOBALS['TYPO3_DB']->sql_query( "SELECT * FROM fe_team WHERE team LIKE 'sendeleitung' AND aktiv = '1' ORDER BY `priority` DESC, `name` ASC");
while($teamdata = mysql_fetch_assoc( $res )) {
echo "<a href='http://www.habbofun.de/".$teamdata['siteid']."'>
<div class='crew_box'>
<div class='crew_name'>
".$teamdata['name']."
</div>
<div class='crew_text'>
".$teamdata['aufgaben']."
</div>
</div>
</a>";
if($schleife == 1 OR $schleife == 2) { $schleife = $schleife+1; } else { $schleife = 1; }
}
echo "<div style=\"clear: left;\"><br /></div>";
?>
More information about the TYPO3-german
mailing list