Insert into database \t \n
#7

What you can do is use special characters to represent \n and \t
For examplle, # for \n and $ for \t

And then once you have them stored, use this:
pawn Code:
new i;
while (string[i++] > '\0')
{
    if (string[i] == '#')
        string[i] = '\n';
    else if (string[i] == '$')
        string[i] = '\t';
}
Reply


Messages In This Thread
Insert into database \t \n - by MerryDeer - 14.07.2016, 07:44
Re: Insert into database \t \n - by AbyssMorgan - 14.07.2016, 07:53
Re: Insert into database \t \n - by Vince - 14.07.2016, 08:11
Re: Insert into database \t \n - by MerryDeer - 29.08.2016, 16:53
Re: Insert into database \t \n - by AbyssMorgan - 29.08.2016, 17:02
Re: Insert into database \t \n - by MerryDeer - 29.08.2016, 17:11
Re: Insert into database \t \n - by Stinged - 29.08.2016, 17:19
Re: Insert into database \t \n - by MerryDeer - 29.08.2016, 17:26
Re: Insert into database \t \n - by BlackBank - 29.08.2016, 17:44
Re: Insert into database \t \n - by Stinged - 29.08.2016, 18:14

Forum Jump:


Users browsing this thread: 2 Guest(s)