query($sql);
$nt = $result->fetch_assoc();
while (strlen($nt['ID']) < $_SESSION['Firma']['Stellen'])
{
$nt['ID'] = "0" . $nt['ID'];
}
if ("2" == $_SESSION['Firma']['Art_Liste'])
{
$Feld1 = "
\n";
}
elseif ("1" == $_SESSION['Firma']['Art_Liste'])
{
$Feld1 = "\n";
}
else
{
$Feld1 = "";
}
if ("0" != $_SESSION['Firma']['Art_Liste'])
{
$Einzeln = explode("\n", $nt['Feld1']);
foreach ($Einzeln AS $Text)
{
$Feld1 .= "- " . $Text . "
\n";
}
}
else
{
$Feld1 = $nt['Text'];
}
if ("2" == $_SESSION['Firma']['Art_Liste'])
{
$Feld1 .= "
\n";
}
elseif ("1" == $_SESSION['Firma']['Art_Liste'])
{
$Feld1 .= "\n";
}
echo "\n";