Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Brian Bendtsen
June 8, 2006, 11:51 am
rate this thread
I have a strange problem with a mysql database and ASP.
I try to retrieve a value from a table I have just created with a very
simple sql statement.
Ex. SELECT myValue FROM myTable WHERE userID = 'myName'
If I type the query in mysql-front it works fine but if I execute it
from and ASP page I get no value.
I have tried something similar with other tables in my database without
My ASP script looks like this:
sql = "SELECT * FROM t_organisation_salg WHERE brugerID = '10025'"
set objRS = objConn.execute(sql)
IF NOT objRS.EOF THEN response.write objRS("omsaetning_gruppe")
set objConn = nothing
My database connection is included from another file.
Can anybody help?
- » Americanas.com SALDO de TVs Com at 80% de Desconto (29798)
- — Newest thread in » MySQL Database Forum