Error with mysqli

Status
Not open for further replies.

designzx

New Member
Messages
4
Reaction score
0
Points
1
When I update mysql_select_db to mysqli_select_db I get an error saying this:

Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in/home/designzx/public_html/Header.php on line 10
Error connecting to database, hang tight, we are working on it.
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
Give the connection to the first parameter. Like this:
PHP:
mysqli_select_db($CONNECTION_VAR_HERE, 'DATABASE NAME HERE');
 
Status
Not open for further replies.
Top