while($row = mysql_fetch_object($ergebnis))
{
$topic="$row->topic";
$text="$row->item";
$testIMG="$row->bild";
$datum="$row->date";
$newsname="$row->newsname";
$newslink="$row->newslink";
$short1="$row->short1";
$short2="$row->short2";
$short3="$row->short3";
$short4="$row->short4";
$short5="$row->short5";
for($x=1;$x<6;$x++) {
if (${'short'.$x} != '')
${'doImg'.$x} = '
'; }
print'
| |
| |
| '.$row->date.' '.$topic.' |
'.$newslink.'
|
| |
'.nl2br($text).'
|
|
'.$doImg1.' '.nl2br($short1).' |
'.$doImg2.''.nl2br($short2).' |
'.$doImg3.' '.nl2br($short3).' |
'.$doImg4.' '.nl2br($short4).' |
'.$doImg5.' '.nl2br($short5).' |
|
|
|
|
|
| as |
';