CREATE check_user(vUserName VARCHAR(20),vUserPWD VARCHAR(40),out vUserCount int )
begin
select COUNT(*) into vUserCount from user where user_name=vUserName and user_passward=vUserPWD;
end;
送出查询("CALL check_user('user','pass',@vUserCount)");
送出查询("SELECT @vUserCount");
$row = .....->fetch_array();print_r($row)
begin
select COUNT(*) into vUserCount from user where user_name=vUserName and user_passward=vUserPWD;
end;
送出查询("CALL check_user('user','pass',@vUserCount)");
送出查询("SELECT @vUserCount");
$row = .....->fetch_array();print_r($row)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货