21.12.2012, 19:52
if(!IsBETAServer()) {
g_MySQLConnections[0] = mysql_connect("localhost", "root", "hrp", "");
} else
g_MySQLConnections[0] = mysql_connect("91.204.210.27", "5892_server", "5892_server", "skole123");
What would go where, could somebody define this for me such as
if(!IsBETAServer()) {
g_MySQLConnections[0] = mysql_connect("hostname"
Thanks, I have not handled MYSQL before and do not know what to do, many thanks in advance.
g_MySQLConnections[0] = mysql_connect("localhost", "root", "hrp", "");
} else
g_MySQLConnections[0] = mysql_connect("91.204.210.27", "5892_server", "5892_server", "skole123");
What would go where, could somebody define this for me such as
if(!IsBETAServer()) {
g_MySQLConnections[0] = mysql_connect("hostname"
Thanks, I have not handled MYSQL before and do not know what to do, many thanks in advance.