|
So you want all qualifying rows to show up, but customprice and PFP are blank unless customerid matches? If so, that is not in ORDER BY or WHERE, but in the actual row selection.
If I understand you correctly, you have:
... c.pfp, ...
And you want:
... (IF customerid=$x THEN c.pfp ELSE '' ENDIF), ...
__________________
Please login or register to view this content. Registration is FREE - Defensive driving, fuel saving, discussion, debate, and more.
|