i have a pdo statement for select all rows for row count.... i keep getting this error "Call to member function execute() on Boolean" ...i have tripple checked my statement and database table but cant find anything wrong
$stmt = $connection->prepare("SELECT * FROM users_profile WHERE email=:email");
var_dump($connection->error);
$stmt->execute(":email",$email);
$count = $stmt->rowCount();
Var dump error says there is a syntax error here " :email" ..but i cant seem to see it...and its doing this through out my PDO code