View Single Post
01-01-2008, 12:52 AM
phpintheusa is offline phpintheusa
phpintheusa's Avatar
Status: I'm new around here
Join date: Dec 2007
Location: Tennessee
Posts: 20
iTrader: 0 / 0%

phpintheusa is on a distinguished road

Send a message via MSN to phpintheusa


Just try a query like:

'SELECT COUNT(*) FROM `table` WHERE `username`="' . $username . '";

and then jsut use a loop based on the count being greater than vs equal to zero.