This is my code actually it will work in SQL but not in code…
$ss="25000";
$sss="1000000";
$query1 = "SELECT * FROM `tbl_user_reg` WHERE `income` BETWEEN :ss AND :sss";
$query2 = $conn->prepare($query1);
$query2->bindParam(':ss', $ss);
$query2->bindParam(':sss', $sss);
$query2->execute();
but if
$ss=“100000”;
$sss=“2000000”;
it will working Properly…,
i think it will took only first digit of both the number…?
any suggestion please