Jump to content
Fórum Script Brasil
  • 0
Sign in to follow this  
adrianollp

Mais Uma Luz?! Xd

Question

tipo .. agora tah dano pau no id!!!

ele não tah pegando a string da otra pagina, sendo q ela estah passando!!!

erro:

Microsoft JET Database Engine error '80040e14'

Syntax error (missing operator) in query expression 'h_id ='.

/fkf/adm/update_home.asp, line 56

esse é o sql da pagina q num tah pegano o id:

<%

Set rsHome2 = Server.CreateObject("ADODB.Recordset")

strSQL = "SELECT * FROM "& bd &" WHERE h_id = " & Request.QueryString("codigo")

'response.Write(strsql):response.End()

rsHome2.Open(strSQL), conexao, 3, 1 --> (linha 56)

%>

alguém me ajuda?! ^^'

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Cara, não pode ser...

Dá um

Response.Write Request.QueryString("codigo")

Response.End()

antes do sql e ve se responde.

Tem algum endereço que eu possa ver o erro, ou tá local?

Share this post


Link to post
Share on other sites
  • 0

não adianta!!!!

c eu coloco esse response.write ele edxa td branco .. quando eu tiro funciona .. ou seja .. num tah pegando o id mesmo!!! q no caso seria o codigo....

tipo .. MP ok?!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

Cloud Computing


  • Forum Statistics

    • Total Topics
      148131
    • Total Posts
      643434
×
×
  • Create New...