www.webdeveloper.com
Results 1 to 3 of 3

Thread: Confused with something in ASP

  1. #1
    Join Date
    Feb 2007
    Posts
    31

    Question Embedding ASP parameter into URL

    Hi everyone,

    I am getting this error..

    Syntax error (missing operator) in query expression

    This is how I'm passing my parameter through the URL, could anyone find a syntax error?

    Code:
    <a href ="http://url.asp?id=<%=ObjId%>">
    If this is not it does anyone have any ideas what could be causing this error?

    Thanks!
    Last edited by mattv10; 02-20-2007 at 03:06 PM.

  2. #2
    Join Date
    Feb 2003
    Posts
    2,745
    thats not the line generating the error. what does your sql query look like?

  3. #3
    Join Date
    Feb 2007
    Posts
    31
    Thanks after taking a closer look at my SQL I forgot the keyword FROM.... I guess I was working for too long without taking a break...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles