I have a php code SQL QUERY GOES LIKE
where and are the variable user will enter in the form. i have a database where there are certain values for gpm and certain values for ewt For ex as value ranging from 1-5 with difference of 0.5 eg: 1,1.5,2,2.5 etc and ewt has values ranging from 30-100 with differerence of 10 eg: 30,40,50
so if users enters nd it returns me values from databse but if user enters gp and ewt as it returns me not found How can i know that database did'nt found gpm and it found ewt
Thanks in advance