IK wil in een select opdracht de operatoren "or" en "and" combineren.
bij voorbeeld:
$sql="select status,graad,soort,datum,adres from notulen where status='ng' and graad='1' or graad='2' ";
Dit werkt niet goed , maar hoe moet het dan wel?
$sql="select status,graad,soort,datum,adres from notulen where graad='1' or graad='2' and status ='ng' ";
Dit werkt ook niet goed, maar hoe moet het wel
1.400 views