Invalid parameter number, number of bound variable does not match number of tokens

ساخت وبلاگ
I'm getting the above error, which I can't figure out
PHP Code:

function RegisterEmail($email,$tempArray)
        {
            
$name $tempArray[0];
            
$county $tempArray[1];
            
$degrees $tempArray[2];
            
$drivingLicences $tempArray[3];
            
$relocate $tempArray[4];
            
$visa $tempArray[5];
            
$cv $tempArray[6]; 
            
$sql "INSERT INTO user(Email,Name,County,Degrees,DrivingLicences,Relocate,Visa,CV) 
                    values(:Email,:Name,:County,:Degrees,:DrivingLicences,:Relocate,:Visa,:CV)"
;
            
$registered $this->link->prepare($sql);
            if(
$emailRegistered $registered->execute(array(':Email' => $email,':Name' => $name,':County' => $county,':Degrees' => $degrees,':DrivingLicences' => $drivingLicences,':Relocate' => $relocate,':Visa' => $visa,':CV'$cv)))
            {
                echo 
"true";
            }
            else
            {
                echo 
"false";
            }
        } 

Appreciate any help with this
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 206 تاريخ : سه شنبه 25 مهر 1396 ساعت: 22:45