Data Format

--_7fbd6af2-798d-40b9-add6-80a5e00e6b72_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello Everyone,

I'm still learning DBI, so please dont hit me too hard. ;)

I've noticed, when capturing form input in multiline text boxes, the format=
(particularly line breaks) is getting lost. Is there a way to preserve suc=
h things as line breaks?

Thanks,

quint

____________________________________________________________ _____
Your friends are close to you.=A0Keep them that way.
http://spaces.live.com/signup.aspx=

--_7fbd6af2-798d-40b9-add6-80a5e00e6b72_--
quintessential1 [ Mo, 09 April 2007 06:46 ] [ ID #1682690 ]

Re: Data Format

------=_Part_77968_4874013.1176102581044
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 4/8/07, essential quint <quintessential1 [at] hotmail.com> wrote:

> I'm still learning DBI, so please dont hit me too hard. ;)


OK.

I've noticed, when capturing form input in multiline text boxes, the format
> (particularly line breaks) is getting lost. Is there a way to preserve such
> things as line breaks?


DBI has no multi-line text boxes (or any other sort of text box, come to
that), so I think you are probably asking the question in the wrong forum.
It sounds like you might be writing CGI scripts or something similar to
collect input from a browser. If so, you should ask in a more general Perl
forum - such as one of the comp.lang.perl.* news groups.

Alternatively, show the DBI code that is giving problems...but we will not
be very interested in debugging the supporting CGI-related bits'n'pieces
(which is where it sounds as if your problem is).

--
Jonathan Leffler <jonathan.leffler [at] gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2007.0226 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."

------=_Part_77968_4874013.1176102581044--
jonathan.leffler [ Mo, 09 April 2007 09:09 ] [ ID #1682691 ]

Re: [?? Probable Spam] Data Format

essential quint wrote:

Hi

> I'm still learning DBI, so please dont hit me too hard. ;)

OK so far.


> I've noticed, when capturing form input in multiline text boxes

Now you're talking CGI. Do you realize that?

You probably want to:

o Switch to another mailing list

o Use the 'wrap' option on your text boxes
--
Ron Savage
ron [at] savage.net.au
http://savage.net.au/
ron [ Mo, 09 April 2007 09:47 ] [ ID #1682692 ]
Perl » perl.dbi.users » Data Format

Vorheriges Thema: RE: DBI->connect failed: ERROR OCIEnvInit
Nächstes Thema: Problem with DBI:CSV