NameSilo

[Resolved] Php & Mysql help

Spaceship Spaceship
Watch

Ray

VIP Member
Impact
167
php & mysql help

hey..

I have a problem, that i cannot seem to get rid of. The problem is when i insert text into the database it goes into like such

paragraph1

paragraph2

it does it how i want.. Now when i use php to display it it comes out like

paragraph1 paragraph2

-----------------------
Found My solution - $string2=nl2br($string1);
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
please post full code, then only we can solve your problem, otherwise we cant understand what you done with the script...thanks
 
0
•••
templaterave said:
Found My solution - $string2=nl2br($string1);
Think he found the solution :P.

I knew what he was talking about anyway, so, not always a need to post code :)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back