Código :
if($_GET['col'] = 'partname' or $_GET['col'] = 'partno'){
$consulta="select * from kia where ".$col." like '%".$dato."%' limit ".$desde.",".$qantos."" ;}
if($_GET['col'] = 'li' or $_GET['col'] = 'qty'){
$consulta="select * from kia where ".$col."=".$dato." limit ".$desde.",".$qantos."";
}
pueden decirme q estoy haciendo mal?
