Ich habe den Teil welcher für das Anzeigen der Beschreibung in wie folgt abgeändert:
foreach ($invoiceitems AS $item) {
$MyRelid =$item['relid'];
$SQL_LongDescription = "SELECT
tblproducts.description
FROM
tblhosting
Inner Join tblproducts ON tblproducts.id = tblhosting.packageid
WHERE
tblhosting.id = '".$MyRelid."' ";
$ResultLongDescription=@mysql_query($SQL_LongDescription);
if($RsLongDescription = @mysql_fetch_array($ResultLongDescription))
{
if($RsLongDescription['description']!="")
{
$LongDescription="<br />".$RsLongDescription['description']."";
}
}
$tblhtml .= '
<tr height="100" bgcolor="#FCFCFC">
<td width="85%">'.nl2br($item['description']). '<br />'.nl2br($LongDescription).'</td>
<td align="left">'.$item['amount'].'</td>
</tr><br />';
}