X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1C11FD1B587 for ; Sat, 1 Nov 2003 12:16:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 18714-06 for ; Sat, 1 Nov 2003 08:16:08 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 8010ED1B8B4 for ; Sat, 1 Nov 2003 08:16:05 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hA1CG5Nu068507 for ; Sat, 1 Nov 2003 12:16:05 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hA1C6gDn067296 for pgsql-sql@postgresql.org; Sat, 1 Nov 2003 12:06:42 GMT From: Marcus Krause X-Newsgroups: comp.databases.postgresql.sql Subject: Re: No output while using PEAR DB & formatted time-string Date: Sat, 01 Nov 2003 13:05:53 +0100 Organization: Hub.Org Networking Services Lines: 7 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4) Gecko/20030624 X-Accept-Language: de-at, en-us, en, fr-fr In-Reply-To: X-Enigmail-Version: 0.76.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/54 X-Sequence-Number: 15869 Am 01.11.2003 12:00 meinte Marcus Krause: > $query .= "SELECT news_id,to_char(news_time,'DD.MM.YYYY HH24:MI'), "; The real code is without the comma at the end of the line above, so it's not a simple SQL-Statement problem!