SELECT zip FROM cart WHERE session = '$cart_id' AND ValueA = 'y' or ValueB = 'y';
Is this proper?
I want the session to be a must and I want having one of the value a must - but both not required.
Thanks,
Adam
SELECT zip FROM cart WHERE session = '$cart_id' AND (ValueA = 'y' OR ValueB = 'y');
Hope this helps 😉