I need to show and hide a section on a page only if there are less than 4 records whose memberID is 5. This attempt fails!
SELECT @rownum:=@rownum+1 r
, id_cr2
FROM caseReport_ReCert
, (SELECT @rownum:=-1) r
WHERE memberID = 5
AND r<4
Should I be using different functions?
thanks
nick