04.07.2014, 23:12
Quote:
Why? Just use mysql_errno or the automatic reconnect feature (which is enabled by default anyway).
|
Код:
mysql_tquery(DBH, "SET NAMES cp1251;", "", ""); mysql_tquery(DBH, "SET SESSION character_set_server='utf8';", "", "");