Formatting functionality in Postgresql

Поиск
Список
Период
Сортировка
Искать

Formatting functionality in Postgresql

От:
"Larry J. Gross" <ljgross@state.nd.us>
Дата:

Hello:

I am using postgres 7.35 on a Linux 9.0 PC. I am trying to create a technical intranet using the postgresql database for the information. When I type in a solution to a problem all of the text runs together. An example would be:1. Text here 2. Text here 3. Text here.

I would like it to look like the following.

Problem:

Solution:

1. Text here
2. Text here
3. Text here

Any help would be appreciated

Thank you
Larry Gross

Network Specialist II

MCP, CNE, A+

ljgross@state.nd.us

(701) 328-5863

Re: Formatting functionality in Postgresql

От:
"Scott Marlowe" <smarlowe@qwest.net>
Дата:
On Mon, 2004-06-28 at 11:31, Larry J. Gross wrote:
> Hello:
> 
> I am using postgres 7.35 on a Linux 9.0 PC. I am trying to create a
> technical intranet using the postgresql database for the information.
> When I type in a solution to a problem all of the text runs together.
> An example would be:1. Text here 2. Text here 3. Text here.
> 
> I would like it to look like the following.
> 
> Problem:
> 
> Solution:
> 
> 1. Text here
> 2. Text here
> 3. Text here

Is this on a web page?  If so, you need to replace new lines with 
tags. What language are you using to do this? If it's PHP, there's a pgsql-php list just for that language that's pretty nice.
FAQ