NameSilo

[Resolved] Php & Mysql help

SpaceshipSpaceship
NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Watch
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.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
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 TransferDynadot โ€” .com Transfer
Truehost โ€” .com domains from $4.99, hosting includedTruehost โ€” .com domains from $4.99, hosting included
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back