When a user signs up for a forum on my site, how can I check that a forum with the same name does'nt already exist in the database?
I have created a table called 'forumnames', and when a new forum is created, a new entry is made in that table, with the same value as the forum name.
Currently, it looks something like this
main1 --> forumnames --> name --> [whatever forums called]
main1 is the name of the database.
When a user tries to create a forum, how do I check that one with same name doesn't already exist?
Also, I'm running PHP4 on apache, using mySQL.
Thanks,