Could you post either the code you are having trouble with. Together with an example of what you want it to do.
Forum Rules