Uncaught Error: Call to a member function execute() on boolean

ساخت وبلاگ
Does anyone know why this isn't working? I think I understand that it is returning null from the execute() method. Thanks in advance.

Code
PHP Code:

$query $conn->query("INSERT INTO users(first_name, last_name, email, username, password, a_perms, bl_perms, c_perms, dl_perms, dr_perms, ds_perms, e_perms, i_perms, l_perms, p_perms, sg_perms, sk_perms, su_perms, u_perms, v_perms) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ? , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);");

$query->execute(array($_POST['first'], $_POST['last'], $_POST['email'], $_POST['uid'], $hashedPwd$_POST['role-dropdown'], $A_perms$BL_perms$C_perms$DL_perms,$DR_perms,$DS_perms$E_perms$I_perms$L_perms$P_perms$SG_perms$SK_perms$SU_perms$U_perms$V_perms)); 

CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 219 تاريخ : سه شنبه 6 شهريور 1397 ساعت: 7:47