tehyev 0 Report post Posted October 28, 2006 How would I go about making PHP check if a username is already registered? Thanks. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 29, 2006 Using a Database for storage of data? or flat-file? Using a Forum or CMS software?We could use a few more specifics, please.One Mysql approach is to have an input field accept the name you want to check for then do a mysql query on that name. Check the number of results. If the query results returns a row count of zero, then it is available. Share this post Link to post Share on other sites
4dsystems 0 Report post Posted October 29, 2006 How would I go about making PHP check if a username is already registered? Thanks. Yeah! Be more specific! Tell us where your usernames are stored?If they are stored in a database, you'll need to query your tables for the said username and if there is a result, then we can say that the username exists! Share this post Link to post Share on other sites