Page 1 of 1

Warning: mysqli::query(): invalid object or resource

Posted: 08/09/2015 7:31 pm
by thatsawan
Warning: mysqli::query(): invalid object or resource mysqli in /home/public_html/mtb/for_teams_/index.php on line 105

Re: Warning: mysqli::query(): invalid object or resource

Posted: 08/09/2015 7:32 pm
by thatsawan

Code: Select all

$host = 'localhost';
$username = '111';
$password = '111';
$dbname = '66';
$dbprefix = '';
$port ='';

$conn = new mysqli;
$conn->connect($host, $username, $password, $dbname,$port);
$conn->set_charset("utf8"); 

ปัญหาเกิดจาก

Code: Select all

$port ='';
ลบ error ก้อหาย

งงนะ