[MYSQL] Either queries or sscanf crash the server
#4

The thing that you have totally forgot to store the result so basically is empty
pawn Код:
mysql_store_result();
And also an advise for SQL. Use either mysql_real_escape_string or mysql_format
because:

Quote:
Important Note: Always use this function (if you don't use mysql_format()) before inserting user inputs in a query. You can be victim of a SQL injection if you do not do so.

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)