24.07.2016, 10:44
https://sampwiki.blast.hk/wiki/MySQL/R33..._affected_rows
You can see how many rows were affected and if it is not 0, show the messages about removing note ID.
I'm not entirely sure if there is only one row, if the function returns 0. The note box in wiki states a DELETE query without WHERE clause.
I guess you execute a query to get the the note ID from another table, right? This can be done in one query.
You can see how many rows were affected and if it is not 0, show the messages about removing note ID.
I'm not entirely sure if there is only one row, if the function returns 0. The note box in wiki states a DELETE query without WHERE clause.
I guess you execute a query to get the the note ID from another table, right? This can be done in one query.

