I've followed example suggested in report.php in order to test that the nominee ID is not the same as the thread poster ID - in other words, for my purpose, you can't self nominate.
The coding I have only works on occasion - which is annoying......
Can anyone offer a 'better' way to grab and check the two user IDs as appropriate.
EDIT :
After another look at my code, I think it is working, but I hadn't told it what to do if the condition was TRUE - hence it continued through the rest of the code!
Although it's not echoing the error message.
|