Oh god, stop to post retarded piece of code where you have no idea what you're doing. Please, Just stop. Completely wrong.
You have been warned. Next time, if you don't want to understand to help YOU MUST KNOW HOW TO CODE and you lead people to wrong way, you will get something you will not like.