pdo invalid number of tokens


This question already has an answer here:


No, PDO requires that you have the same number of values as the number of parameters in the prepared query.

Learn to use array_intersect_key():

$keys = array("emailAddress", "password");
$data = array("emailAddress" => "test1", "password" => "test", "abc" => 123);

if($statement->execute(array_intersect_key($data, array_flip($keys)))) {
    . . .

Need Your Help

Cannot find hover effect on product box

html css wordpress

I am trying to replicate the image box on this page

Inflate a layout in a layout Android

android xml layout android-inflate

I'm trying to inflate a layout in another layout but it doesn't work...