Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
Hey, i got this problem:
I have data in a field with \n delimeters.
How can i get them on samp, because mysql_fetch_row doesn't return correctly.
Posts: 2,929
Threads: 160
Joined: Feb 2009
Reputation:
0
You can try to replace it with something else.
Create a function to replace them with '~' for example (there's one added by me in the Useful functions topic). Then when retrieved use the same function to replace '~' with '\n'. Easy solution if there isn't any other.
Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
If tried some str_replace functions on pawn, and none worked good with long strings.