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

Post a reply

Smilies
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Warning: mysqli::query(): invalid object or resource

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

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

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 ก้อหาย

งงนะ

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

by thatsawan » 08/09/2015 7:31 pm

Warning: mysqli::query(): invalid object or resource mysqli in /home/public_html/mtb/for_teams_/index.php on line 105

Top