Could not query week9_userdata
DEBUG MODE
SQL Error : 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 'and dafaultuse = '1' and (face_fitherd = 'm' or face_fitherd =
SELECT * FROM week9_userdata where userid = and dafaultuse = '1' and (face_fitherd = 'm' or face_fitherd = 't')
Line : 158
File : c:\appserv\www\phpbb2\bank.php
Could not query week9_userdata
DEBUG MODE
SQL Error : 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 'and dafaultuse = '1' and (face_fitherd = 'm' or face_fitherd =
SELECT * FROM week9_userdata where userid = and dafaultuse = '1' and (face_fitherd = 'm' or face_fitherd = 't')
Line : 158
File : c:\appserv\www\phpbb2\bank.php
$db->sql_query("UPDATE week9_userdata SET dafaultuse = '3' WHERE userid=".$postrow[$i]['user_id']." and facepicid = '$usercaifu[facepicid]' and classid= '$usercaifu[classid]' and dafaultuse='1'");
$db->sql_query("UPDATE week9_userdata SET dafaultuse = '3' WHERE userid=".$userdata['user_id']." and facepicid = '$usercaifu[facepicid]' and classid= '$usercaifu[classid]' and dafaultuse='1'");