Changeset 96 for hadoop-register
- Timestamp:
- Jul 8, 2009, 5:15:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop-register/forget_password.php
r85 r96 74 74 75 75 // 判斷此帳號密碼是否存在 76 $str = sprintf("SELECT `id` FROM `%s` WHERE ` name` LIKE '%s' and `email` LIKE '%s' limit 1", $mysql_table, $my_user->user, $my_user->email);76 $str = sprintf("SELECT `id` FROM `%s` WHERE `user` LIKE '%s' and `email` LIKE '%s' limit 1", $mysql_table, $my_user->user, $my_user->email); 77 77 $result = mysql_query($str , $link) or die(mysql_error() ); 78 78 if (mysql_num_rows($result) == 1)
Note: See TracChangeset
for help on using the changeset viewer.