Please Help for this code.

You need to start posting code between code tags.
Use the # icon on the editor's toolbar, then taste your code between the tags that appear.
You can go back to your previous posts, click on "modify", highlight the code, then click on the # icon.
Then click "save"