there should be a , at the end of the array like this array('email => $email,)