Hey,
I really need help.. let me explain the problem..
how to search mysql for results between two ages?
this question isn't clear? ok, check out this sql.. I must be doing something wrong here..
//-----------------age1...x...age2
if( ($age1 !== 'any') && ($age2 !== 'any') )
{
$query = "SELECT * FROM friends WHERE ((age='$age1'<'$age2')) ORDER by id DESC ";
}
thanks!