[EMAIL PROTECTED] wrote:
> Hello,
>
> I have hunted high and low for a solution to my problem. I have found a few
> examples but have been unable to get them to work. Here is what I am trying to
> do. I am trying to list attachments for article # 18. I know the attachment
> is there. It is item # 1888 in the blobs table. How can I actually list out
> the attachments associated with my article #18?
$article = mgd_get_article(18);
$lst = $article->listattachments();
if ($lst)
while ($lst->fetch()) {
echo "Attachment #$lst->id is attached to Article #18<br>";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]