So here’s the setup:
I’ve got this lovely PHP/MySQL site that I’ve been working on. It was originally designed to only support one client, but management decided to change it to support multiple clients. OK, so it’s no (HUGE) deal.
Unless, that is, you forget that you use $client to pull in information about the current instance of the site, and try to use $client again on the page where one adds or edits new client instances.