Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql = $db->query("SELECT user_shortlink FROM ".$prefix."users WHERE user_shortlink=\"".escapestr($_POST["shortlink"])."\" and user_id <> \"".$authinfo["user_id"]."\";");
- if ($db->rows($sql) == 1)
- {
- $error = 1;
- $message .= "Адрес занят!<br/>";
- }
- $db->freeresult($sql);
Add Comment
Please, Sign In to add comment