hi all!
for example;[enter] represents pressing enter key.
i am typing "nirmal [enter] singh [enter] B"
in a text area, so the result in textarea will be in three lines as follows.
nirmal
singh
B
while i get this data from textarea and save in database, i want to save something representing like enter key pressed or new line along with text. so that i can retrieve the record from database and show it in a same format as
nirmal
singh
B
how can i do this?
thanx in advance.
for example;[enter] represents pressing enter key.
i am typing "nirmal [enter] singh [enter] B"
in a text area, so the result in textarea will be in three lines as follows.
nirmal
singh
B
while i get this data from textarea and save in database, i want to save something representing like enter key pressed or new line along with text. so that i can retrieve the record from database and show it in a same format as
nirmal
singh
B
how can i do this?
thanx in advance.
Comment