Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $userid = trim($_POST["userid"]);
- if ($userid == "") // se userid è vuoto
- echo "l' id deve essere presente!";
- else if ($userid == "pippo") // se userid è "pippo"
- echo "'pippo' è gi&agreave; in uso, scegline un altro";
- else // if user id anything else
- echo "OK! Lo userid \"".$userid."\" è libero e puoi usarlo";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement