
March 23rd, 2003, 11:42 AM
|
|
Contributing User
|
|
Join Date: Apr 2001
Posts: 909
Time spent in forums: 5 Days 5 h 34 m 32 sec
Reputation Power: 0
|
|
|
Help with insert
I have the below code:
PHP Code:
<% Response.CacheControl="no-cache"
Response.AddHeader "Pragma","no-cache"
Response.Expires=0
%>
<!-- #include file="top.asp" -->
<%
sql="insert into news (headline, body) values('$headline', '$body');"
set rs=conn.execute(sql)
count=0
%>
and I get the following error why?
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/news/news_post.asp, line 9
Tim
|