[Resolved] Php & Mysql help

Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
SpaceshipSpaceship
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
Close
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
Close
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
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back