Ayuda con esta codificacion
Amigos hola, soy nuevo y me gustaria convertir esto q esta en asp a php, espero q me ayuden gracias
set rs4 = Server.CreateObject("ADODB.Recordset")
sql4="select * from MEMB_STAT where memb___id = '"&accountname&"'"
rs4.open sql4,conn,1,1
if rs4("ConnectStat")=1 then
response.write "<script language=javascript>alert('nnYou must offline to reset');history.back()</script>"
response.end
end if
set rs4 = Server.CreateObject("ADODB.Recordset")
sql4="select * from MEMB_STAT where memb___id = '"&accountname&"'"
rs4.open sql4,conn,1,1
if rs4("ConnectStat")=1 then
response.write "<script language=javascript>alert('nnYou must offline to reset');history.back()</script>"
response.end
end if