X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C5709537D9 for ; Fri, 13 May 2005 09:03:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21587-02 for ; Fri, 13 May 2005 12:03:54 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by svr1.postgresql.org (Postfix) with ESMTP id 80D23535D2 for ; Fri, 13 May 2005 09:03:53 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 68so1159391wri for ; Fri, 13 May 2005 05:03:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NzbkjVFnTpT4CG9bQyeJtzqOz7IIYaBOzXpBW1EPEG9ChmsZAwVvV2UA+yfZnihRUAVr/BHhUzeDgrWX7tUeCn0U91h1I13VqUaodD6KAg3sO0C7lh08dBP6Cn2/XsG0udmYtJj+qGG+isZZQ5b6ZwTNp7xlzZwQPmige8Cgq/s= Received: by 10.54.141.10 with SMTP id o10mr1787303wrd; Fri, 13 May 2005 05:03:57 -0700 (PDT) Received: by 10.54.30.45 with HTTP; Fri, 13 May 2005 05:03:57 -0700 (PDT) Message-ID: <7104a73705051305037d299361@mail.gmail.com> Date: Fri, 13 May 2005 15:03:57 +0300 From: Volkan YAZICI Reply-To: Volkan YAZICI To: pgsql-php@postgresql.org Subject: Re: Printing off the page.... In-Reply-To: <7104a73705051304583d38f3ee@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1115978112.428479801cb7b@sms.ed.ac.uk> <7104a73705051304583d38f3ee@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.325 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200505/27 X-Sequence-Number: 3141 Oops. I forgot some other built-in PHP functions. I think it's more feasible to use chunk_split(). (You can take a look at wordwrap() function too but I'd advice chunk_split(). Also chunk_split() should work much faster than any other function we wrote by using PHP.) Regards.