Whats wrong.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kolie Kay

    #1

    Whats wrong.

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I have some vbscript asp code that is:

    SQL = "Insert into pricelistdownlo ad (Name, Email, JobId, Ip, Sent,
    GUID) Values"
    SQL = SQL & "('" & request.form("N ame") & "','" &
    request.Form("E Mail") & "','" & fixjobid & "','" &
    Request.ServerV ariables("REMOT E_HOST") & "','0" & "','" & theguid
    SQL = SQL & "')"
    response.Write( SQL)
    myconn.execute( SQL)

    now everything works untill the myconn.execute, which is now
    commented out and everthing runs through, the funny think is when i
    write the sql query with response.write, it is missing the ') that i
    appended with the last SQL =, which i think is causing it to error
    out. I moved the ') to be appended in the second SQL= but that still
    did not work, what is wrong here?

    TIA
    Kolie

    -----BEGIN PGP SIGNATURE-----
    Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

    iQA/AwUBPzaZ9IBhJro Jt76MEQLzBwCgqZ B2pNDOBHKnyRHyT gbxXIEN3VoAmwdk
    +zTwFwpRyDwsv//yAuR4N6mm
    =lftC
    -----END PGP SIGNATURE-----


Working...