06.07.2011, 18:08
It's as simple as a regular mathematic question. I don't know why people are calling natives to divide when SQL has its own arithmetic division operator. Here's an example query:
pawn Код:
mysql_query( "UPDATE accounts SET Ratio = '%i / %i' WHERE name = '%s'", kills, deaths, name );