MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | OPTIONAL |
| 2 | SYNOPSIS |
| 3 | string db_conv_string(string str) |
| 4 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 5 | DESCRIPTION |
| 6 | Convert the string <str> into a string that is correctly interpretated |
| 7 | for usage as a string in db_exec(), e.g. ' is replaced with \' and so |
| 8 | on. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 9 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 10 | The function is available only if the driver is compiled with |
| 11 | mySQL support. In that case, __MYSQL__ is defined. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 12 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 13 | HISTORY |
| 14 | Added in 3.2.9 . |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 15 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 16 | SEE ALSO |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 17 | db_affected_rows(E), db_close(E), db_coldefs(E), db_connect(E), |
| 18 | db_exec(E), db_error(E), db_fetch(E), db_handles(E), db_insert_id(E), |
| 19 | mysql(C) |