אשכול: שגיאה מוזרה
View Single Post
ישן 03-05-08, 15:02   # 1
דור
אחראי קהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 33
הודעות: 3,724

דור לא מחובר  

שגיאה מוזרה

קוד:
<%
	
	path=Server.mappath("MY_Order.mdb")
	
	set con= Server.createobject("ADODB.Connection")
       
 	con.mode=3   
   	con.open "Provider=Microsoft.Jet.OLEDB.4.0;data source=" &path

	m=Request.Form("moregame")
	set R=con.execute("select*from dor_data where game='"&m&"'")
	if not R.eof then
		response.write "כבר הזמנת את המשחק, נסה שנית"
	else 
	sq="insert into dor_data(moregame) values('"&m&"') where (id='"&session ("i")&"')"	
	con.Execute sq

%>



<html dir="rtl">
	<body>
	<font size="2" face="arial">
	<center> <h1>הזמנת בהצלחה את הכרטיסים למשחק <%=m%></h1>
	</font>
	</body>
</html>
<%
end if
%>
השגיאה:
ציטוט:
סוג שגיאה:
Microsoft JET Database Engine (0x80040E14)
‏‏סימן נקודה-פסיק ( חסר בסוף משפט SQL.
/insertgame.asp, line 16
אם אני בוחר משחק שכבר הוזמן, כתוב מה שצריך - "הזמנת את המשחק, נסה שנית"
אם בוחרים משחק שלא הוזמן יש את השגיאה הזאת
והרי זה Vbscript ואין שם ;

אשמח לעזרה
  Reply With Quote