Hi, anybody know how to get the POST or GET value inside customize model?
or maybe know how to insert a value into the model from the controller?
I'm trying to do something like this in my model
$sql = 'Select * from a where a.value < $_GET['min']';
but not pretty sure how to do that in the model