Kemito Posted July 19, 2010 Report Share Posted July 19, 2010 Lietotājvārdu var pārbaudīt vai eksistējošs $prasam = mysql_query("SELECT username FROM users WHERE username='".$username."'"); $check_user = mysql_num_rows($prasam); if($check_user > 0){ $kluda = 'MAMMU ŠITAS JAU IR AIZŅEMTS!'; } manliekas, ka tā darīt ar būtu tīri forši ^.^ Quote Link to comment Share on other sites More sharing options...
drellout Posted July 19, 2010 Author Report Share Posted July 19, 2010 Lietotājvārdu var pārbaudīt vai eksistējošs $prasam = mysql_query("SELECT username FROM users WHERE username='".$username."'"); $check_user = mysql_num_rows($prasam); if($check_user > 0){ $kluda = 'MAMMU ŠITAS JAU IR AIZŅEMTS!'; } manliekas, ka tā darīt ar būtu tīri forši ^.^ paldies :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.