Hi everyone,
I'm working on a script where you can view a submission and see if there is already a submission with a similar name or email address in the database. The following SQL query doesn't seem to return the right results. It keeps showing me the same row we're looking at (ie the ID!='$id' isn't working). I think it has something to do with paramater precedence:
However, the following simple query excludes the same row we're looking at:
Can anyone shed some let on this issue? I hope I was clear enough. Thanks in advance!