What's going wrong in this script it is giving me error for bind_param
if(isset($_GET['ID'])){
$page_id = $_GET['ID'];
$page_id = mysqli_real_escape_string($con, $page_id);
$select_query = $con->prepare("select * from save_data where ID='$page_id'")
or die(mysqli_error($con));
$select_query->bind_param('i', $page_id);
$select_query->execute();
$result = $select_query->get_result();
Getting this error
Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables in C:\xampp\htdocs\mysql_login\pictures.php on line 23