السلام عليكم ...
ياليت احد يعطيني مثال عن كيفية اخذ القيمه المرسله من MSGBOX هل هي YES او NO لان اعتمادا عليها باروح الي فانكشن غير ..
انا جربت التالي بس ما مشي ما اعرف ليش ..
<%
sql="select * from ProjRel where SQUID="&SQUID
set rs=conn.execute(sql)
if not rs.eof then
%>
<script language=vbscript>
action= MsgBox ("This User Has Some Projects Assigned To him Are you sure that you whant to delete him",vbYesNO,"Webmaster")
</script>
<%
if action <>7 then
sql="delete * from Regstr where SQUID="&SQUID
conn.execute(sql)
sql="delete * from ProjRel where SQUID="&SQUID
conn.execute (sql)
end if
end if
response.redirect "administration.asp"
%>ما اعرف اذا انا محتاج اوضح اكثر لان الكود يوضح المطلوب ...:rolleyes: