Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock CountTotalOf(const type[])
- {
- new Query[80];
- format(Query,sizeof(Query),"SELECT * FROM `%s`",type);
- SendQuery(Query);
- mysql_store_result();
- new test;
- test = mysql_num_rows();
- mysql_free_result();
- print(Query);
- return test;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement