Printing off the page.... - Mailing list pgsql-php

From SG Edwards
Subject Printing off the page....
Date
Msg-id 1115978112.428479801cb7b@sms.ed.ac.uk
Whole thread Raw
Responses Re: Printing off the page....  (David Blanco <dablanco@gmail.com>)
Re: Printing off the page....  (Volkan YAZICI <volkan.yazici@gmail.com>)
Re: Printing off the page....  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-php
Hi guys,

I have a postgres database connected to a website using PHP.
I have a table that stores gene sequences which are very long (approx. 800
characters).

If I try and print this, it prints as a single line which runs off the page. Is
there a way to print the sequence with a line break every 50 characters?

for example,

AAAAAAAAAAAACCCCCCCCCCC
TTTTTTTTTTTTTTTTGGGGGGG
AAAAAAAAATTT


Rather than:

AAAAAAAAAAACCCCCCCCCCCCTTTTTTTTTTTTTGGGGGGGGGGGAAAAAAAAAATTT

pgsql-php by date:

Previous
From: Volkan YAZICI
Date:
Subject: Fwd: Bug #32904 [Opn->Csd]: pg_get_notify() ignores result_type param.
Next
From: David Blanco
Date:
Subject: Re: Printing off the page....