any idea why addRecommendedNewVendor is a valid object name and validateRecommendedNewVendor is not?
The word validate isn't reserved.
Can you provide some context to show the problem? I'm not big on classes and objects, but had a quick play and couldn't see an issue.
Thanks for the help droopsnoot. Turns out that I may have experienced an issue with my PHP end tags.So, I think it's best to close this topic and open a new one about PHP end tags.