30.07.2012, 20:37
If you look at the link Doreto gave you, you will find that mysql_query is R5 and R6 compatible only. In R7, it looks like equivalent functions are mysql_function_query or mysql_query_callback. The latter has a wiki entry that you can read about here: https://sampwiki.blast.hk/wiki/MySQL#mysql_query_callback
I would suggest reading that wiki entry, understanding it, and replacing all your usages of mysql_query to mysql_query_callback.
I would suggest reading that wiki entry, understanding it, and replacing all your usages of mysql_query to mysql_query_callback.