• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Characters Not Showing Eq

Phoenix1337

New Member
Joined
Jul 22, 2009
Messages
122
Reaction score
0
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1' in C:\xampp\htdocs\characters.php:334 Stack trace: #0 C:\xampp\htdocs\characters.php(334): PDO->query('SELECT * FROM p...') #1 C:\xampp\htdocs\index.php(142): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\characters.php on line 334

Doesn anyone know how to fix this?
It shows shows only some of the characters eq.
 
Last edited:
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1' in C:\xampp\htdocs\characters.php:334 Stack trace: #0 C:\xampp\htdocs\characters.php(334): PDO->query('SELECT * FROM p...') #1 C:\xampp\htdocs\index.php(142): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\characters.php on line 334


Does anyone how i can fix this?

goto characters.php open with notepad and tell me whats on line 334
 
Code:
$player_killerr12 = $SQL->query('SELECT * FROM player_killers WHERE kill_id = '.$player_kd.'');
 
I'm always debugging queries with
Code:
die(mysql_error());
 
Back
Top