31/12/2007, 15:27
|
| | Fecha de Ingreso: diciembre-2007
Mensajes: 12
Antigüedad: 16 años, 10 meses Puntos: 0 | |
Re: (Ayuda)Consulta SQL mi duda es aqui
quiero saber por que no me regresa la contraseña
$msconnect=mssql_connect("$dbhost","$dbuser","$dbp asswd");
$msdb=mssql_select_db("$db",$msconnect);
$sql_username_check = mssql_query("SELECT memb___id FROM MEMB_INFO WHERE memb___id='$login'");
$username_check = mssql_num_rows($sql_username_check);
$sql_mail_check = mssql_query("SELECT mail_addr FROM MEMB_INFO WHERE mail_addr='$mail'");
$mail_check = mssql_num_rows($sql_mail_check);
$sql_pw_check = mssql_query("SELECT memb__pwd, mail_addr FROM MEMB_INFO WHERE mail_addr='$mail' and memb___id='$login'");
$sql_pw_get = mssql_query("SELECT memb__pwd, mail_addr FROM MEMB_INFO WHERE memb___id='$login'");
$pw_check = mssql_num_rows($sql_pw_check);
$pw_retrieval = mssql_fetch_row( $sql_pw_get ); |