| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jun 2005 Location: Pennsylvania
Posts: 1,839
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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);
__________________ Poker News, articles, discussion LIKE THIS Its an iPod, a phone, and an internet communications device.
Last edited by templaterave; 02-17-2007 at 10:33 PM.
|
| |
| | #3 (permalink) | ||||
![]() Join Date: Jul 2005 Location: Coffs H, Australia
Posts: 3,456
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
.????: NamePros.com http://www.namepros.com/programming/295519-resolved-php-and-mysql-help.html I knew what he was talking about anyway, so, not always a need to post code
__________________ Free Forums / GoDaddy Coupon Codes (NEW DOMAIN!) / Free Arcade Script / <?='Your computer is '.(1?fine:broken).'.'?> | ||||
| |