Hi at all
i have put this simply code in my wher sql and it dont works
i have test the sql in phpmyadmin "where kms >= 90 and kms <= 110 and it is good
the code take a response and make 2 variables to emulate the between clause in where ?
Thank's at all
<?php
$kilom = JRequest::getString('kilom', '', 'post');
if ($kilom) {
$kilom2 = $kilom * 1,1;
$kilom = $kilom * 0,9;
echo " WHERE `kms` >= $kilom and `kms` <= $kilom2 ";
}
<!-- echo " WHERE `kms` = $kilom "; -->
?>
i have put this simply code in my wher sql and it dont works
i have test the sql in phpmyadmin "where kms >= 90 and kms <= 110 and it is good
the code take a response and make 2 variables to emulate the between clause in where ?
Thank's at all