smaley 0 Odesláno: 27. Prosinec, 2010 Share Odesláno: 27. Prosinec, 2010 cafte spravil som si registraciu a potrebujem spravit podmienku aby ked uz zadane meno v DB existuje tak ho nezaregistruje Link to comment Share on other sites More sharing options...
0 pr3d4t0r 0 Odesláno: 29. Prosinec, 2010 Share Odesláno: 29. Prosinec, 2010 $sql = mysql_query("SELECT * FROM tabulka WHERE nick='Pr3d4t0r' ")or die(mysql_error()); $vysledok = mysql_fetch_array($sql); if($vysledok) { echo "Existuje"; }else{ echo "Nexistuje tak sa splní script registrácie :)"; } Link to comment Share on other sites More sharing options...
0 smaley 0 Odesláno: 29. Prosinec, 2010 Author Share Odesláno: 29. Prosinec, 2010 ok ide mi to diky muzete lock Link to comment Share on other sites More sharing options...
Dotaz
smaley 0
cafte spravil som si registraciu a potrebujem spravit podmienku aby ked uz zadane meno v DB existuje tak ho nezaregistruje
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now