I'm creating a website for my and am struggling with the SQL parts, below are two separate statements I am struggling with, if you know what could be the problem with any of them id appreciate it.
This is the statement
readsql = "SELECT * FROM Gallery WHERE <%=GalleryRs ("img_USERID")%> = <%=session ("usr_ID")%>"
This is the error
Expected end of statement
/WIP/Gallery.asp, line 20
readsql = "SELECT * FROM Gallery WHERE <%=GalleryRs ("img_USERID") ------------------------------------------------------^
This is the second statement
INSERT INTO like (lik_POSTID) VALUES('" &_
request("pos_ID") & "')
and the error
Microsoft Access Database Engine error '80040e14'
Syntax error in INSERT INTO statement.
/student/S0190204/WIP/like.asp, line 56
If you can help with either one that would be grand, thanks