strreplace problem
#1

I'm having some trouble with str_replace from strlib include, so i wanted to replace @ with (at) when entering email but it's not working, and idk why,


pawn Код:
mysql_real_escape_string(inputtext, escinput);
                   
                    str_replace("@", "(at)", escinput);
                   
                    mysql_real_escape_string(inputtext, escinput);
                   
                    strcpy(PI[playerid][Email], escinput);
                   
                    TextDrawSetString(RegTD[playerid][8], escinput);
Reply


Messages In This Thread
strreplace problem - by ShoortyFl - 20.07.2015, 14:55
AW: strreplace problem - by Kaliber - 20.07.2015, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)