Heya there!
The code below does not work correctly...
Is ther any problem using AND Description.owner='$owner[0]' OR Description.owner='$owner[1]' ??
Thank you!
Egidio C Santoro
$qry = "SELECT Description.,Detail. ".
"FROM Description,Detail ".
"WHERE Description.id='$id' AND ".
"Description.field='$field' ";
if ($owner[0] != "Any") { // got $owner from select multiple
$qry .= "AND Description.owner='$owner[0]' ";
$qry .= "OR Description.owner='$owner[1]' ";
}
$qry .= "ORDER BY Description.id";