How could i join this multi query with just a single mysql query ?
$query = $mysql->query("select rate from postages where city=$city");
if($query->num_rows == 0)
{
$query = $mysql->query("select rate from postages where subdistrict=$subdistrict");
if($query->num_rows == 0)
{
$query = $mysql->query("select rate from postages where district=$district");
}
}
Thanks for your help.