Moez Posted September 21, 2014 Share Posted September 21, 2014 if (!$db_conn = new mysqli('localhost', 'poll', 'poll', 'poll')) { echo 'Could not connect to db<br />'; exit; } in new mysqli() what are parameter use , poll is db or password ?? Link to comment https://forums.phpfreaks.com/topic/291194-db-not-connected/ Share on other sites More sharing options...
Barand Posted September 21, 2014 Share Posted September 21, 2014 http://uk1.php.net/manual/en/mysqli.construct.php See example #1 Link to comment https://forums.phpfreaks.com/topic/291194-db-not-connected/#findComment-1491698 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.