16.07.2013, 15:37
mysql_connect(const host[], const user[], const pass[], const db[]);
I don't think the Database(db) can be null. Read the parameters that are written in the topic.
EDIT: Else you can just remove the const db. mysql_connect(const host[], const user[], const pass[]); and use mysql_select_db(dbname);
I don't think the Database(db) can be null. Read the parameters that are written in the topic.
EDIT: Else you can just remove the const db. mysql_connect(const host[], const user[], const pass[]); and use mysql_select_db(dbname);