when calling data from myysql database data is splitting where next line(\n) is present and data is showing in two different items in listview
And your question is?
so how to solve this issue
Don’t use the \n characters in your database. That is the same as a new line.
yeah but if new line is also present in a particular database cell data is getting splitted in list view in two different items
Why not show your blocks?
using deep host mysql extension…
I think you should not put the \n in your database. Why do you use it anyway? If you want to simulate a new line the you could for instance put
<br> in the database and when reading replace it with \n while placing it in the listview.
but problem is that what to do when the data is being uploaded by users
Automatically remove the \n before putting it in the database.
okeee…got it now…btw…thaaaankkkuuuuu
btw what is the defination of
<br> element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.