So how did you try the code I posted and how did it not work?