I keep getting this error whenever I try to fill out the form on my PHP signup form
mysqli_stmt_bind_param(): Number of variables doesn't match number of parameters in prepared statement
Below is a snippet of the troublesome line
$sql = "INSERT INTO users (username, email, password, token, refcode, referred, walletbalance, phone, address, country ) VALUES ('$username','$email','$password','$token','$refcode','$reffered','$walletbalance','$phone','$address','$country')";
if($stmt = mysqli_prepare($link, $sql)){
// Bind variables to the prepared statement as parameters
mysqli_stmt_bind_param($stmt,"ssssssssss", $param_username, $param_email, $param_password, $param_token, $param_refcode, $param_referred, $param_bonus, $param_phone, $param_address, $param_country );
// Set parameters
$param_username = $username;
$param_email = $email;
$param_password = $password;
$param_token = $token;
$param_refcode = $refcode;
$param_referred = $referred;
$param_bonus = $bonus;
$param_phone = $phone;
$param_address = $address;
$param_country = $country;