i would look long and hard at the difference between “brown” and “brown1” and examine why you feel your table needs to include bofadem
of course, i realize the you don’t actually have “brown” and “brown1” but since i don’t know what your actual data really is, i don’t think i can be of very much help
It’s to create unique usernames. Previously users entered a username but this was never used or checked for uniqueness (just collected in the db).
Urls use database id to display profiles, but now I want to use the username (so must be unique). There are other uses where I need a unique username as well. Some aren’t unique and I need to make them unique. The idea is to add a number to the end of each one that isn’t unique.
Anyone have an idea? Can this be done completely in MySQL without PHP assistance?
If you can’t or don’t know thanks anyway and no need to post. Thanks again.