får detafel meddelande
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '5 id,nyhet,datum,lag FROM pb_lag_nyheter WHERE lag='DOW' ORDER
/change_lagadmin.asp, line 154
och koden är
<%
SET RStemp = MinCon.Execute("SELECT top 5 id,nyhet,datum,lag FROM pb_lag_nyheter WHERE lag='" & Request.QueryString("lag") & "' ORDER BY id DESC")
Do While NOT RStemp.EOF
%>
<%=RStemp("nyhet")%>
</td>
<td><%=RStemp("datum")%></td>
<td>Ta bort</td>
<%
RStemp.MoveNext
Loop
%>
nån som har en anning?