1
你好傢伙有反正 使字段在SQL查詢選擇它由PHP? 例如微軟SQL服務器假字段
USE SRO_VT_ACCOUNT
IF EXISTS(SELECT UserID FROM [dbo].[_BlockedUser] WHERE UserID = 'ThElitEyeS1')
BEGIN
DELETE FROM [dbo].[_BlockedUser] WHERE UserID = 'ThElitEyeS1';
PRINT 'EXIST' AS status
END
ELSE
BEGIN
PRINT 'NOT EXIST' AS status
END
然後被PHP
while ($row = mssql_fetch_array(...)) {
echo $row["status"];
}
是否可以選擇它?
謝謝你做的工作:) – ThElitEyeS 2012-02-06 19:14:03
老兄你有電子郵件或Skype或任何事情,我可以聯繫你? – ThElitEyeS 2012-02-06 19:15:44
http://i.stack.imgur.com/reMV6.png – cetver 2012-02-06 19:18:40