27.07.2012, 15:59
Hey. I am currently experiencing a problem and can't find a way to fix it.
Let's say i have in a mysql database a string (with \t, \n and such things) saved and i want to show it in a dialog. I receive the string from the database, format the dialog by inserting the string there, but there are no rows or tabulation and so. If a string in database is
"test1\ntest2\ntest3"
it will show how it is like instead of
"test1
test2
test3".
Anyone knows where is the problem? Thank you.
Let's say i have in a mysql database a string (with \t, \n and such things) saved and i want to show it in a dialog. I receive the string from the database, format the dialog by inserting the string there, but there are no rows or tabulation and so. If a string in database is
"test1\ntest2\ntest3"
it will show how it is like instead of
"test1
test2
test3".
Anyone knows where is the problem? Thank you.