php - How to use 'between' in select statement -
this supposed easy solution can't ahead around it. have table
here query
$salary=2000; select deductions nhif_tbl to_end <=$salary , start_from >= $salary;
the query returns null. question how modify query in order correct deductions in case '60'
select deductions nhif_tbl to_end >=$salary , start_from <= $salary;
Comments
Post a Comment