And btw, in your
PHP code, you have an error..2 actually.
Any time you are comparing 2 values, you have to use ==, not =. In your IF statement, you are setting both variables equal to something, not checking to see if they really do equal what you have there. Just something to think about.