Your probably mean to do something along the lines of if id > 1 instead of if id > '1' .
Notice the lack of single quotes in the first example.
L7Sqr
Practically a Posting Shark
849 posts since Feb 2011
Reputation Points: 253
Solved Threads: 155
Skill Endorsements: 7