Re: HTML-considering Truncate()-Function

2007-02-15 Thread Alexander Wegener
Hi, On Wed, 14 Feb 2007 22:13:51 -, "dima" <[EMAIL PROTECTED]> wrote: > > Alex, > > Under what conditions would you need to truncate content with tags > included? > I wanted to preview not only the contents of my texts on one page. My texct snippets should be formatted as th

Re: Fetching Posts without Comments

2007-02-13 Thread Alexander Wegener
and how to to this the object oriented way (with fetchAll()) ?? many thanks! Alex On Tue, 13 Feb 2007 14:59:24 +0100, Kaste <[EMAIL PROTECTED]> wrote: > >> select posts.id, comments.id, count(comments.id) as commentscount from >> posts, comments where comments.posts_id = posts.id w