convert the string to int, then your comparison will work
Type: Posts; User: Motion
convert the string to int, then your comparison will work
Pls your question is not clear...and the code you posted above is something else.
elaborate your question if you wanna get help