royalcyber
asked on
How to use the function nl2br
my problem is that when I save an essay into the MS sql database which is a varchar field it loses all the formatting tags. While searching in EE I found that many peple had used nl2br function to solve this problem but I still don't understand how to use this.
Ay help will be greatly appreciated
Ay help will be greatly appreciated
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thnak you very much guys
But I actually found a better option, which is using javascript to create a formatting toolbar like microsoft word and allow users to automatically add the tags
Please check out this website
http://tinymce.moxiecode.com/
Thanks but your answers also worked
Huzefa
But I actually found a better option, which is using javascript to create a formatting toolbar like microsoft word and allow users to automatically add the tags
Please check out this website
http://tinymce.moxiecode.com/
Thanks but your answers also worked
Huzefa
ASKER