Changeset 96 for hadoop-register


Ignore:
Timestamp:
Jul 8, 2009, 5:15:08 PM (15 years ago)
Author:
wade
Message:
  • debug ,name --> user
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hadoop-register/forget_password.php

    r85 r96  
    7474   
    7575    // 判斷此帳號密碼是否存在
    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);
    7777    $result = mysql_query($str , $link) or die(mysql_error() );
    7878    if (mysql_num_rows($result) == 1)
Note: See TracChangeset for help on using the changeset viewer.