hard returns

This is a discussion on hard returns within the MySQL Database forums, part of the Database Forums category; Sorry if this is the wrong newsgroup, but I couldn't see a better one. I'm having a 'simple' ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-07-2006
F9
 
Posts: n/a
Default hard returns

Sorry if this is the wrong newsgroup, but I couldn't see a better one.

I'm having a 'simple' problem with MYSQL.

I have a block of text that I want to input all together in one cell of
data - say a long review of software. I want that long text to be split up
into paragraphs having hard returns between them. But. I dont want to have
to input <br> after the paragraph end myself, I would like MYSQL to do it
for me.

The filed in the MYSQL database where the review would be kept is:

Field Type Length/Values Collation
Content longtext latin1_swedish_ci


Attributes Null Default Extra Comments
Null Null


As I'm not an expert at MYSQL I cant see how to do what I want and the
manual is as clear as mud.

Any help would be appreciated.

Thanks.



--
Posted via a free Usenet account from http://www.teranews.com

Reply With Quote
  #2 (permalink)  
Old 12-07-2006
Jerry Stuckle
 
Posts: n/a
Default Re: hard returns

F9 wrote:
> Sorry if this is the wrong newsgroup, but I couldn't see a better one.
>
> I'm having a 'simple' problem with MYSQL.
>
> I have a block of text that I want to input all together in one cell of
> data - say a long review of software. I want that long text to be split up
> into paragraphs having hard returns between them. But. I dont want to have
> to input <br> after the paragraph end myself, I would like MYSQL to do it
> for me.
>
> The filed in the MYSQL database where the review would be kept is:
>
> Field Type Length/Values Collation
> Content longtext latin1_swedish_ci
>
>
> Attributes Null Default Extra Comments
> Null Null
>
>
> As I'm not an expert at MYSQL I cant see how to do what I want and the
> manual is as clear as mud.
>
> Any help would be appreciated.
>
> Thanks.
>
>
>


You could do it in MySQL, but I think you'd be better off doing it in
whatever language you're using.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #3 (permalink)  
Old 12-07-2006
F9
 
Posts: n/a
Default Re: hard returns

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:uuOdnZvX6chEmeXYnZ2dnUVZ_tWdnZ2d@comcast.com. ..
> F9 wrote:
>> Sorry if this is the wrong newsgroup, but I couldn't see a better one.
>>
>> I'm having a 'simple' problem with MYSQL.
>>
>> I have a block of text that I want to input all together in one cell of
>> data - say a long review of software. I want that long text to be split
>> up
>> into paragraphs having hard returns between them. But. I dont want to
>> have
>> to input <br> after the paragraph end myself, I would like MYSQL to do it
>> for me.
>>
>> The filed in the MYSQL database where the review would be kept is:
>>
>> Field Type Length/Values Collation
>> Content longtext
>> latin1_swedish_ci
>>
>>
>> Attributes Null Default Extra Comments
>> Null Null
>>
>>
>> As I'm not an expert at MYSQL I cant see how to do what I want and the
>> manual is as clear as mud.
>>
>> Any help would be appreciated.
>>
>> Thanks.

>
> You could do it in MySQL, but I think you'd be better off doing it in
> whatever language you're using.


To be honest I am new at this. I set up the MYSQL database with the field
above and use a PHP design program called "Easygen 2.3" to call the data
into a template. This is probably an idiots tool as I cant program directly
in PHP.

I have looked through its "style sheet editor" and help but there's nothing
on hard returns. If I knew what to add to the script I could probably do so
by trial and error.

I'm going to try one more thing, so will let you know.

Thanks for help so far.



--
Posted via a free Usenet account from http://www.teranews.com

Reply With Quote
  #4 (permalink)  
Old 12-11-2006
F9
 
Posts: n/a
Default Re: hard returns

"F9" <Me@freeinternet.com> wrote in message
news:45780f3a$0$15453$88260bb3@free.teranews.com.. .
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:uuOdnZvX6chEmeXYnZ2dnUVZ_tWdnZ2d@comcast.com. ..
>> F9 wrote:
>>> Sorry if this is the wrong newsgroup, but I couldn't see a better one.
>>>
>>> I'm having a 'simple' problem with MYSQL.
>>>
>>> I have a block of text that I want to input all together in one cell of
>>> data - say a long review of software. I want that long text to be split
>>> up
>>> into paragraphs having hard returns between them. But. I dont want to
>>> have
>>> to input <br> after the paragraph end myself, I would like MYSQL to do
>>> it
>>> for me.
>>>
>>> The filed in the MYSQL database where the review would be kept is:
>>>
>>> Field Type Length/Values Collation
>>> Content longtext latin1_swedish_ci
>>>
>>>
>>> Attributes Null Default Extra Comments
>>> Null Null
>>>
>>>
>>> As I'm not an expert at MYSQL I cant see how to do what I want and the
>>> manual is as clear as mud.
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks.

>>
>> You could do it in MySQL, but I think you'd be better off doing it in
>> whatever language you're using.

>
> To be honest I am new at this. I set up the MYSQL database with the field
> above and use a PHP design program called "Easygen 2.3" to call the data
> into a template. This is probably an idiots tool as I cant program
> directly in PHP.
>
> I have looked through its "style sheet editor" and help but there's
> nothing on hard returns. If I knew what to add to the script I could
> probably do so by trial and error.
>
> I'm going to try one more thing, so will let you know.
>
> Thanks for help so far.


Got this sorted via the Easygen program. Thanks.



--
Posted via a free Usenet account from http://www.teranews.com

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:29 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0