MySQL STRANGE problem - HTML + CSS?
#1

Hello, today I'm making a 'top players' system, but something unexpected appear, CSS with HTML in the result of a Query!
Here is an image:

WTF with that! I'm scared!
Here is the code of that Query:
pawn Код:
new Cache:result;
        result = mysql_query(ID, "SELECT Player_Name, Money FROM Users ORDER BY Money DESC LIMIT 10");
        format(Query, sizeof(Query), "{FFFFFF}Top Money\n");
        for(new i = 0; i<cache_get_row_count(ID); i++)
        {
            cache_get_field_content(i, "Player_Name", aux, ID, sizeof(aux));
            format(Query, sizeof(Query), "%s{B7FF00}%d. %s - {FFFFFF}%s\n", i+1, Query, aux, ConvertToMoney(cache_get_field_content_int(i, "Money", ID)));
        }
        cache_delete(result, ID);
So, WTF in my database there aren't any HTML
Anyone can help me about this?
The only mistake is that "i+1" is before "Query" but is VERY strange the result
Reply


Messages In This Thread
MySQL STRANGE problem - HTML + CSS? - by Su37Erich - 29.10.2014, 03:10
Re : MySQL STRANGE problem - HTML + CSS? - by MCZOFT - 29.10.2014, 03:26
Re: MySQL STRANGE problem - HTML + CSS? - by Blademaster680 - 29.10.2014, 10:21

Forum Jump:


Users browsing this thread: 1 Guest(s)