lung
27 Oct 2010, 05:00 AM
$stmt = $conn->prepare("INSERT INTO tbljobseeker(EMail_Address,User_Password,FirstName,LastName,Gender,Date_of_birth,Register_Date,User_ Block,Lastvisit_Date,Activate_Code) VALUES(?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
$stmt->bind_param($EMail_Address, $sha1pass, $FirstName, $LastName, $Gender, $birth_date,$birth_date,$zero,$birth_date,$activate);
$stmt->execute();
and i get error :Fatal error: Call to a member function bind_param() on a non-object in
i have 11 parameter(?) but i send only 10 value because (i think)have 1 auto number field.
and if have 10 parameter(?) i get this error :Number of elements in type definition string doesn't match number of bind variables in
$stmt->bind_param($EMail_Address, $sha1pass, $FirstName, $LastName, $Gender, $birth_date,$birth_date,$zero,$birth_date,$activate);
$stmt->execute();
and i get error :Fatal error: Call to a member function bind_param() on a non-object in
i have 11 parameter(?) but i send only 10 value because (i think)have 1 auto number field.
and if have 10 parameter(?) i get this error :Number of elements in type definition string doesn't match number of bind variables in