Jump to content

[SOLVED] one single paragraph from database


mrzalt

Recommended Posts

Hi

I got a little irritating problem.

 

I got a send mail function on my website so each member can send mail to each other.

When i write a mail squeeze all the text into one line.

 

In the databeas its looks ok with new lines and so on.

 

I get the info from database inte a php file and write it in a html file.

 

a little file look.

 

msg.php >> STemplate::assign('body', $rs->fields['body']);

 

and

html file

msg.tpl >> <td colspan=2 valign=top><b>Details: </b>{$body}

 

Its the body content i want as it is in my database (mysql)

 

Anyone ?

 

// RIkard

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.