@haiderali Please read The problem with spoonfeeding

@Netwraith Please use code tags when posting code to the forum. See the announcements page for help
You did explain what you are trying to do,...