I am sorry for my mistake...I had no idea I HAD to encase the code in tags...I thought it was optional.
It is optional, DaniWeb does not enforce that rule, but moderators do. -- If you don't follow the rules then you will greatly decrease the probability that anyone will take you very seriously and answer the question. Many people see unformatted code and just ignore the whole thread.