Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- function hashCheck($str) {
- $sql = "SELECT FROM link WHERE hash='$str'";
- $res = mysql_query($res)
- if (mysql_num_rows($res) > 0) {
- $str = generateHash();
- return $str;
- }
- else {
- return $str;
- }
- }
- ?>
Add Comment
Please, Sign In to add comment